diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..a58bf90 --- /dev/null +++ b/index.d.ts @@ -0,0 +1 @@ +declare module "iview-area"; \ No newline at end of file diff --git a/package.json b/package.json index 848aeb8..6fa71c6 100644 --- a/package.json +++ b/package.json @@ -51,5 +51,6 @@ "> 1%", "last 2 versions", "not ie <= 8" - ] -} + ], + "typings": "./index.d.ts" +} \ No newline at end of file