mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
// Type definitions for less2sass 1.0
|
||||
// Project: https://github.com/ekryski/less2sass
|
||||
// Definitions by: William Lohan <https://github.com/gatimus>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare class Less2Sass {
|
||||
convert(file: string): string;
|
||||
}
|
||||
|
||||
declare const less2sass: Less2Sass;
|
||||
export = less2sass;
|
||||
@@ -0,0 +1,4 @@
|
||||
import * as less2sass from 'less2sass';
|
||||
|
||||
let scss: string;
|
||||
scss = less2sass.convert('@myColor: #f938ab; .myClass { color: @myColor; }');
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"less2sass-tests.ts"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user