Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
Agney committed Jun 22, 2020
1 parent b1debf5 commit 75e96d1
Show file tree
Hide file tree
Showing 9 changed files with 1,267 additions and 411 deletions.
7 changes: 0 additions & 7 deletions playground/.babelrc

This file was deleted.

6 changes: 3 additions & 3 deletions playground/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@agney/playground",
"version": "0.3.3",
"version": "0.3.4",
"description": "A simple playground for HTML, CSS and JavaScript supporting module imports.",
"private": false,
"scripts": {
"start": "microbundle watch",
"build": "microbundle --raw",
"build": "microbundle --jsx React.createElement --tsconfig tsconfig.json",
"test": "jest",
"prepublishOnly": "yarn build",
"release": "np"
Expand Down Expand Up @@ -49,7 +49,7 @@
"@types/react-inspector": "^4.0.0",
"@types/styled-components": "^5.1.0",
"jest": "^26.0.1",
"microbundle": "^0.12.1",
"microbundle": "^0.11.0",
"np": "^6.2.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
Expand Down
5 changes: 3 additions & 2 deletions playground/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"jsx": "react",
"lib": ["es2017", "dom"],
"noEmitOnError": true,
"strict": true,
"target": "es5"
"strict": false,
"target": "es5",
"typeRoots": ["./node_modules/@types", "../node_modules/@types", "./types"]
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "styled-components";

import { theme } from "../utils/theme";
import { theme } from "../src/utils/theme";

declare module "styled-components" {
type Theme = typeof theme;
Expand Down
1,658 changes: 1,260 additions & 398 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 75e96d1

Please sign in to comment.