styled-jsx
Advanced tools
Comparing version 5.0.1 to 5.0.2
{ | ||
"name": "styled-jsx", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"license": "MIT", | ||
@@ -16,2 +16,3 @@ "repository": "vercel/styled-jsx", | ||
"macro.js", | ||
"macro.d.ts", | ||
"css.js", | ||
@@ -18,0 +19,0 @@ "css.d.ts", |
@@ -43,2 +43,5 @@ # styled-jsx | ||
- [Syntax Highlighting](#syntax-highlighting) | ||
- [ESLint](#eslint) | ||
- [TypeScript](#typescript) | ||
- [Credits](#credits) | ||
@@ -1044,2 +1047,10 @@ ## Getting started | ||
## TypeScript | ||
If you're using TypeScript, then in order to allow `<style jsx>` tags to be properly understood by it, create a file named "styled-jsx.d.ts" anywhere within your project containing the following, or add this line to the top of any single existing .ts file within your project: | ||
```ts | ||
/// <reference types="styled-jsx" /> | ||
``` | ||
## Credits | ||
@@ -1046,0 +1057,0 @@ |
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
867803
20
23973
1069