types(@vant/icons): add config type definition (#8195)

This commit is contained in:
neverland 2021-02-22 20:31:03 +08:00 committed by GitHub
parent 94dcf6964a
commit f6abc99f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,7 @@
"version": "1.5.2",
"description": "vant icons",
"main": "./src/config.js",
"types": "./src/config.d.ts",
"files": [
"src"
],

7
packages/vant-icons/src/config.d.ts vendored Normal file
View File

@ -0,0 +1,7 @@
declare const config: {
name: string;
basic: string[];
outline: string[];
filled: string[];
};
export default config;