Skip to content

Commit

Permalink
[sass-loader] Added type definitions (DefinitelyTyped#43836)
Browse files Browse the repository at this point in the history
* [sass-loader] Added type definitions

* [sass-loader] Removed files

* [sass-loader] fixed export

Co-authored-by: Jason Kwok <[email protected]>
  • Loading branch information
JasonHK and JasonHK authored Apr 13, 2020
1 parent 6d518e9 commit d3164d6
Show file tree
Hide file tree
Showing 5 changed files with 459 additions and 0 deletions.
15 changes: 15 additions & 0 deletions types/sass-loader/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Type definitions for sass-loader 8.0
// Project: https://github.com/webpack-contrib/sass-loader
// Definitions by: Jason Kwok <https://github.com/JasonHK>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.7

import { LoaderOptions } from "./interfaces";

declare function loader(content: string): void;

declare namespace loader {
type Options = LoaderOptions;
}

export = loader;
Loading

0 comments on commit d3164d6

Please sign in to comment.