Skip to content

Commit 7a88a6c

Browse files
authored
Update Index.ts
1 parent 9c8912c commit 7a88a6c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import path = require('path');
55
import fs = require('fs');
66
import process = require('process');
77

8-
function Plugin(outputDirectory: string, paths, options) {
8+
function Plugin(outputDirectory: string, paths: string[]|string, options: EmitOptions, extension?: "d.ts"|"ts" = "d.ts") {
99
if(!paths)
1010
throw new Error('Must specify paths to use for C# to TypeScript conversion.');
1111

@@ -63,4 +63,4 @@ function createPlugin(outputDirectory, paths, options) {
6363
return new Plugin(outputDirectory, paths, options);
6464
}
6565

66-
export = createPlugin;
66+
export = createPlugin;

0 commit comments

Comments
 (0)