mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Remove null union as TS stable does not support it
This commit is contained in:
committed by
GitHub
parent
4d273e4848
commit
46a63785b7
Vendored
+1
-1
@@ -14,7 +14,7 @@ declare class Headers {
|
||||
|
||||
append(name: string, value: string): void;
|
||||
delete(name: string): void;
|
||||
get(name: string): string | null;
|
||||
get(name: string): string; // | null; (TS 2.0 strict null check)
|
||||
has(name: string): boolean;
|
||||
set(name: string, value: string): void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user