Skip to content

Commit

Permalink
Fix TypeScript test
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Jun 4, 2023
1 parent 2a93181 commit 74fe70b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/typescript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,19 @@ const _amdOutputOptions: rollup.OutputOptions['amd'][] = [
autoId: false
},
{
// @ts-expect-error for "basePath", "autoId" needs to be true
autoId: false,
// @ts-expect-error for "basePath", "autoId" needs to be true
basePath: '',
// @ts-expect-error cannot combine "id" and "basePath"
id: 'a'
},
{
// @ts-expect-error cannot combine "id" and "autoId"
autoId: true,
// @ts-expect-error cannot combine "id" and "autoId"
id: 'a'
},
{
basePath: '',
// @ts-expect-error cannot combine "id" and "basePath"
basePath: '',
id: 'a'
},
// @ts-expect-error needs "autoId" for "basePath"
Expand Down

0 comments on commit 74fe70b

Please sign in to comment.