1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-04-19 06:55:30 -04:00

add types for fonts imported by webpack

This commit is contained in:
2022-03-27 11:23:42 -04:00
parent 8b3d6f712b
commit ff6e417889
8 changed files with 20 additions and 15 deletions
+1
View File
@@ -1,2 +1,3 @@
export * from "./note";
export * from "./repository";
export * from "./webpack";
+11
View File
@@ -0,0 +1,11 @@
// support webfonts statically imported by webpack via custom config in next.config.js:
declare module "*.woff" {
const content: string;
export default content;
}
declare module "*.woff2" {
const content: string;
export default content;
}