Commit 82231960 authored by wildfirecode's avatar wildfirecode

u

parent 7073a1d3
File added
......@@ -3,6 +3,7 @@
"version": "1.0.0",
"description": "",
"main": "./bin/index.js",
"types": "./types/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
......
......@@ -2,6 +2,8 @@
"compilerOptions": {
"outDir": "bin",
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "commonjs"
"module": "commonjs",
"declaration": true,
"declarationDir": "types"
}
}
\ No newline at end of file
import Foo from "./Foo";
export default class Bar {
createFoo(): Foo;
}
export default class Foo {
log(): void;
}
import Bar from "./Bar";
export { Bar };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment