mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
refactor: move web asset module declarations to dedicated types file
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
declare module '../../../web/dist/*' {
|
||||
const sourcePath: string;
|
||||
export default sourcePath;
|
||||
}
|
||||
|
||||
declare module '../../../web/dist/assets/*' {
|
||||
const sourcePath: string;
|
||||
export default sourcePath;
|
||||
}
|
||||
@@ -7,8 +7,3 @@ export interface EmbeddedWebAsset {
|
||||
}
|
||||
|
||||
export const embeddedAssets: EmbeddedWebAsset[];
|
||||
|
||||
declare module '*web/dist/*' {
|
||||
const sourcePath: string;
|
||||
export default sourcePath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user