Skip to content

Commit 575d70a

Browse files
committed
Merge pull request DefinitelyTyped#4187 from bilou84/patch-2
convert-source-map: Remove all implicit any
2 parents de18109 + 3f4eb92 commit 575d70a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

convert-source-map/convert-source-map.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@
66
declare module "convert-source-map" {
77
export interface SourceMapConverter {
88
toObject(): any;
9-
toJSON(space?): string;
9+
toJSON(space?: any): string;
1010
toBase64(): string;
1111
toComment(): string;
1212

13-
addProperty(key, value): SourceMapConverter;
14-
setProperty(key, value): SourceMapConverter;
13+
addProperty(key: string, value: any): SourceMapConverter;
14+
setProperty(key: string, value: any): SourceMapConverter;
1515

16-
getProperty(key): any;
16+
getProperty(key: string): any;
1717
}
1818

19-
export function removeComments(src): string;
19+
export function removeComments(src: string): string;
2020
export var commentRegex: RegExp;
2121

22-
export function fromObject(obj): SourceMapConverter;
22+
export function fromObject(obj: any): SourceMapConverter;
2323
export function fromJSON(json: string): SourceMapConverter;
2424
export function fromBase64(base64: string): SourceMapConverter;
2525
export function fromComment(comment: string): SourceMapConverter;
2626
export function fromSource(source: string): SourceMapConverter;
27-
}
27+
}

0 commit comments

Comments
 (0)