mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
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:
parent
ad1f840706
commit
c80c69a422
2
types/node-sass-middleware/index.d.ts
vendored
2
types/node-sass-middleware/index.d.ts
vendored
@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
4
types/node-sass/index.d.ts
vendored
4
types/node-sass/index.d.ts
vendored
@ -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
|
||||
|
||||
2
types/sass-webpack-plugin/index.d.ts
vendored
2
types/sass-webpack-plugin/index.d.ts
vendored
@ -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';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user