Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Sep 4, 2024
1 parent 1417c1b commit bb6a4fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test-dts/core-base/runtime.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ expectType<string>('' as MessageType<''>) // string literal
expectType<number>(1 as MessageType<number>) // number type
expectType<1>(1 as MessageType<1>) // number literal
expectType<Date>(new Date() as MessageType<Date>) // Date
// TODO:
// expectType<object>(Object.create(null) as MessageType<object>) // Object type
expectType<{ toString: () => '' }>(
Object.create({ toString: () => '' }) as MessageType<{ toString: () => '' }>
Expand Down

0 comments on commit bb6a4fe

Please sign in to comment.