chore: Use tsconfig base. (#433)

This commit is contained in:
Matthieu Bosquet
2020-12-19 00:19:09 +00:00
committed by GitHub
parent 88a633a427
commit 731b44d5b9
5 changed files with 22 additions and 15 deletions

View File

@@ -200,7 +200,8 @@ export const instantiateFromConfig = async(componentUrl: string, configFile: str
* Initializes the root container of the server.
* Useful for when the RootContainerInitializer was not instantiated.
*/
export const initServerStore = async(server: Server, baseUrl: string, headers: HeadersInit = {}): Promise<void> => {
export const initServerStore = async(server: Server, baseUrl: string,
headers: Record<string, string> = {}): Promise<void> => {
const res = await fetch(baseUrl, {
method: 'PUT',
headers: {

View File

@@ -1,10 +1,6 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2017",
"esModuleInterop": true,
"incremental": true,
"noUnusedLocals": true,
"strict": true
}
"extends": "../tsconfig.json",
"include": [
"."
]
}