Commit e3b1e96 1 parent 2ef0940 commit e3b1e96 Copy full SHA for e3b1e96
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -188,11 +188,10 @@ declare namespace TsConfigJson {
188
188
| 'webworker.iterable' ;
189
189
190
190
export type Plugin = {
191
- [ key : string ] : unknown ;
192
191
/**
193
192
Plugin name.
194
193
*/
195
- name ? : string ;
194
+ name : string ;
196
195
} ;
197
196
198
197
export type ImportsNotUsedAsValues =
Original file line number Diff line number Diff line change 1
- import { expectType } from 'tsd' ;
2
- import type { TsConfigJson } from '../index' ;
1
+ import { expectType , expectAssignable } from 'tsd' ;
2
+ import type { Jsonifiable , TsConfigJson } from '../index' ;
3
3
4
4
const tsConfig : TsConfigJson = { } ;
5
5
@@ -11,3 +11,4 @@ expectType<string[] | undefined>(tsConfig.files);
11
11
expectType < string [ ] | undefined > ( tsConfig . include ) ;
12
12
expectType < TsConfigJson . References [ ] | undefined > ( tsConfig . references ) ;
13
13
expectType < TsConfigJson . TypeAcquisition | undefined > ( tsConfig . typeAcquisition ) ;
14
+ expectAssignable < Jsonifiable > ( tsConfig ) ;
You can’t perform that action at this time.
0 commit comments