We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90ddf1a commit 1417c1bCopy full SHA for 1417c1b
test-dts/core-base/runtime.test-d.ts
@@ -39,7 +39,7 @@ expectType<string>('' as MessageType<''>) // string literal
39
expectType<number>(1 as MessageType<number>) // number type
40
expectType<1>(1 as MessageType<1>) // number literal
41
expectType<Date>(new Date() as MessageType<Date>) // Date
42
-expectType<object>(Object.create(null) as MessageType<object>) // Object type
+// expectType<object>(Object.create(null) as MessageType<object>) // Object type
43
expectType<{ toString: () => '' }>(
44
Object.create({ toString: () => '' }) as MessageType<{ toString: () => '' }>
45
) // object literal
0 commit comments