You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It throws an exception when calling a method on the date when details is true.
import onChange from 'on-change';
let proxy = onChange({ d: new Date() }, () => {}, { details: true});
proxy.d.getDate();
// throws
// file:///C:/Users/lars.roald/repos/rdb-demo/node_modules/on-change/index.js:229
// return Reflect.apply(target, thisArg, argumentsList);
// ^
// TypeError: this is not a Date object.
// at Proxy.getDate (<anonymous>)
// at Object.apply ←[90m(file:///C:/Users/lars.roald/repos/rdb-demo/←[39mnode_modules/←[4mon-change←[24m/index.js:229:19←[90m)←[39m
// at ←[90mfile:///C:/Users/lars.roald/repos/rdb-demo/←[39mchangeTest.mjs:4:9
The text was updated successfully, but these errors were encountered:
It throws an exception when calling a method on the date when details is true.
The text was updated successfully, but these errors were encountered: