Added typings for next/config. (#24815)

This commit is contained in:
Rob
2018-04-10 01:20:53 +02:00
committed by Mohamed Hegazy
parent c2724adc96
commit c0d45f6810
2 changed files with 3 additions and 1 deletions

1
types/next/config.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
export default function(): {serverRuntimeConfig: any, publicRuntimeConfig: any};

View File

@@ -26,6 +26,7 @@
"head.d.ts",
"link.d.ts",
"router.d.ts",
"config.d.ts",
"test/next-tests.ts",
"test/next-error-tests.tsx",
"test/next-head-tests.tsx",
@@ -34,4 +35,4 @@
"test/next-dynamic-tests.tsx",
"test/next-router-tests.tsx"
]
}
}