mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-09 11:40:16 +08:00
Fix type for SourceNode.add()
This commit is contained in:
1 parent
e850b6ac0d
commit
dd3fb2e7c8
1 file changed
+1
-1
Vendored
+1
-1
@@ -73,7 +73,7 @@ declare module SourceMap {
|
||||
constructor(line: number, column: number, source: string);
|
||||
constructor(line: number, column: number, source: string, chunk?: string, name?: string);
|
||||
public static fromStringWithSourceMap(code: string, sourceMapConsumer: SourceMapConsumer, relativePath?: string): SourceNode;
|
||||
public add(chunk: string): void;
|
||||
public add(chunk: any): SourceNode;
|
||||
public prepend(chunk: string): void;
|
||||
public setSourceContent(sourceFile: string, sourceContent: string): void;
|
||||
public walk(fn: (chunk: string, mapping: MappedPosition) => void): void;
|
||||
|
||||
Reference in new issue
Block a user