Skip to content

Commit c37c902

Browse files
author
Jake Champion
committed
chore: update type tests now that config and dictionary get methods types have been fixed
1 parent bd256f1 commit c37c902

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test-d/fastly:config-store.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ import {expectError, expectType} from 'tsd';
88
expectError(ConfigStore('example'))
99
expectError(ConfigStore())
1010
expectType<ConfigStore>(new ConfigStore('example'))
11-
expectType<(key:string) => string>(new ConfigStore('example').get)
11+
expectType<(key:string) => string|null>(new ConfigStore('example').get)
1212
}

test-d/fastly:dictionary.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ import {expectError, expectType} from 'tsd';
88
expectError(Dictionary('example'))
99
expectError(Dictionary())
1010
expectType<Dictionary>(new Dictionary('example'))
11-
expectType<(key:string) => string>(new Dictionary('example').get)
11+
expectType<(key:string) => string|null>(new Dictionary('example').get)
1212
}

0 commit comments

Comments
 (0)