mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-05 09:40:02 +00:00
[openapi-factory] set strictFunctionTypes to true and change import in example code
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import * as OpenApiFactory from 'openapi-factory';
|
||||
import OpenApiFactory = require('openapi-factory');
|
||||
|
||||
const api = new OpenApiFactory({});
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": false,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
|
||||
Reference in New Issue
Block a user