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:
committed by
Griffithtp
parent
c0b0189cc6
commit
3c54b116c9
7
types/custom.d.ts
vendored
7
types/custom.d.ts
vendored
@@ -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
6
types/packageMeta.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface PackageMetaInterface {
|
||||
latest: {
|
||||
name: string;
|
||||
};
|
||||
_uplinks: {};
|
||||
}
|
||||
Reference in New Issue
Block a user