Fix lint errors

This commit is contained in:
daniel.thunell 2017-07-04 16:09:06 +02:00
parent 762ac1c99a
commit 5cd0a7541f
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
// Type definitions for restify-cors-middleware 1.0.0
// Type definitions for restify-cors-middleware 1.0
// Project: https://github.com/TabDigital/restify-cors-middleware
// Definitions by: Daniel Thunell <https://github.com/dthunell>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3.4
// TypeScript Version: 2.3
/// <reference types="node" />
@ -15,7 +15,7 @@ declare namespace corsMiddleware {
exposeHeaders: string[];
credentials?: boolean;
preflightMaxAge?: number;
preflightStrategy?: Object | Function;
preflightStrategy?: any;
}
interface CorsMiddleware {

View File

@ -1,4 +1,4 @@
import corsMiddleware = require('restify-cors-middleware')
import corsMiddleware = require('restify-cors-middleware');
const options: corsMiddleware.Options = {
preflightMaxAge: 5,