@types/css-modules
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -15,3 +15,3 @@ // Type definitions for css-modules 1.0 | ||
declare module '*.css' { | ||
declare module "*.css" { | ||
/** | ||
@@ -24,3 +24,3 @@ * A CSS module. | ||
declare module '*.scss' { | ||
declare module "*.scss" { | ||
/** | ||
@@ -35,3 +35,3 @@ * An SCSS based CSS module. | ||
declare module '*.sass' { | ||
declare module "*.sass" { | ||
/** | ||
@@ -46,3 +46,3 @@ * A Sass based CSS module. | ||
declare module '*.less' { | ||
declare module "*.less" { | ||
/** | ||
@@ -57,3 +57,3 @@ * A Less based CSS module. | ||
declare module '*.styl' { | ||
declare module "*.styl" { | ||
/** | ||
@@ -60,0 +60,0 @@ * A Stylus based CSS module. |
{ | ||
"name": "@types/css-modules", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "TypeScript definitions for css-modules", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/css-modules", | ||
"license": "MIT", | ||
@@ -27,4 +28,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "2109377159d77cbad0255e3f334ec8d7048ab618b7662f7e1f1a5c50f7d67a13", | ||
"typeScriptVersion": "3.4" | ||
"typesPublisherContentHash": "9b02a27cc45bcf90c4a09f09c2d2ef491437c80058493c72cb8d2856871346e8", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -9,5 +9,70 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/css-modules. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/css-modules/index.d.ts) | ||
````ts | ||
// Type definitions for css-modules 1.0 | ||
// Project: https://github.com/css-modules/css-modules | ||
// Definitions by: NeekSandhu <https://github.com/NeekSandhu> | ||
// Remco Haszing <https://github.com/remcohaszing> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
interface CSSModule { | ||
/** | ||
* Returns the specific selector from imported stylesheet as string. | ||
*/ | ||
[key: string]: string; | ||
} | ||
declare module "*.css" { | ||
/** | ||
* A CSS module. | ||
*/ | ||
const styles: CSSModule; | ||
export default styles; | ||
} | ||
declare module "*.scss" { | ||
/** | ||
* An SCSS based CSS module. | ||
* | ||
* https://sass-lang.com | ||
*/ | ||
const styles: CSSModule; | ||
export default styles; | ||
} | ||
declare module "*.sass" { | ||
/** | ||
* A Sass based CSS module. | ||
* | ||
* https://sass-lang.com | ||
*/ | ||
const styles: CSSModule; | ||
export default styles; | ||
} | ||
declare module "*.less" { | ||
/** | ||
* A Less based CSS module. | ||
* | ||
* http://lesscss.org | ||
*/ | ||
const styles: CSSModule; | ||
export default styles; | ||
} | ||
declare module "*.styl" { | ||
/** | ||
* A Stylus based CSS module. | ||
* | ||
* https://stylus-lang.com | ||
*/ | ||
const styles: CSSModule; | ||
export default styles; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Fri, 26 Feb 2021 18:12:25 GMT | ||
* Last updated: Mon, 04 Sep 2023 15:41:29 GMT | ||
* Dependencies: none | ||
@@ -14,0 +79,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5307
0
82