fix: typo vs type checker
MODIFY
packages/ses/src/tame-date-constructor.js
packages/ses/src/tame-date-constructor.js
+// @ts-check
+
import { defineProperties } from './commons.js';
export default function tameDateConstructor(dateTaming = 'safe') {
@@ -74,7 +76,7 @@ export default function tameDateConstructor(dateTaming = 'safe') {
return ResultDate;
};
const InitialDate = makeDateConstructor({ powers: 'original' });
- const SharedDate = makeDateConstructor({ power: 'none' });
+ const SharedDate = makeDateConstructor({ powers: 'none' });
defineProperties(InitialDate, {
now: {

fix: typo vs type checker (#798)