Lower typescript version requirement to 2.7 for node-sass. Increase to 2.7 for node-sass-middleware and sass-webpack-plugin.

This commit is contained in:
Chris Eppstein 2019-02-13 08:13:16 -08:00
parent ad1f840706
commit c80c69a422
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
// Project: https://github.com/sass/node-sass-middleware
// Definitions by: Pascal Garber <http://www.jumplink.eu>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
// TypeScript Version: 2.7

View File

@ -2,7 +2,7 @@
// Project: https://github.com/sass/node-sass
// Definitions by: Asana <https://github.com/pspeter3>, Chris Eppstein <https://github.com/chriseppstein>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0
// TypeScript Version: 2.7
/// <reference types="node" />
@ -130,7 +130,7 @@ export interface Result {
includedFiles: string[];
};
}
export type SassRenderCallback = (err: SassError, result: Result) => unknown;
export type SassRenderCallback = (err: SassError, result: Result) => any;
// Note, most node-sass constructors can be invoked as a function or with a new
// operator. The exception: the types Null and Boolean for which new is

View File

@ -2,7 +2,7 @@
// Project: https://github.com/jalkoby/sass-webpack-plugin
// Definitions by: AEPKILL <https://github.com/AepKill>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.6
// TypeScript Version: 2.7
import { Options } from 'node-sass';
import { Plugin } from 'webpack';