1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-12 06:05:43 +07:00

fix: added packageMeta type

This commit is contained in:
Griffith Tchen Pan
2019-06-22 10:43:59 +01:00
committed by Griffithtp
parent c0b0189cc6
commit 3c54b116c9
16 changed files with 83 additions and 65 deletions

7
types/custom.d.ts vendored
View File

@@ -1,10 +1,7 @@
// https://stackoverflow.com/questions/44717164/unable-to-import-svg-files-in-typescript
declare module '*.svg' {
const content: any;
const content: string;
export default content;
}
declare module '*.png' {
const content: any;
export default content;
}
declare module '*.png';

6
types/packageMeta.ts Normal file
View File

@@ -0,0 +1,6 @@
export interface PackageMetaInterface {
latest: {
name: string;
};
_uplinks: {};
}