We should change readonly attribute Date? anticipatedRemoval to readonly attribute long long anticipatedRemoval, representing the number of milliseconds since the Unix Epoch. This is equivalent to Date.now() [ECMA-262].
Reopening; I accidentally closed this with #7, which fixes the "Not a WebIDL type" issue, but doesn't address the other question of whether we should be using an object in the first place.
Based on the webIDL spec,
Date
is not a data type: https://heycam.github.io/webidl/#es-type-mapping https://heycam.github.io/webidl/#idl-grammarWe should change
readonly attribute Date? anticipatedRemoval
toreadonly attribute long long anticipatedRemoval
, representing the number of milliseconds since the Unix Epoch. This is equivalent to Date.now() [ECMA-262].