Skip to content

Commit 008d28a

Browse files
committed
fix: syntax on readme blocks
1 parent 4e4ce01 commit 008d28a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ npm install @theahaco/ts-config
3030
Create a `tsconfig.json` file in the project root and
3131
[extend this config file](https://www.typescriptlang.org/tsconfig/#extends):
3232

33-
```json
33+
```js
3434
{
3535
"extends": ["@theahaco/ts-config/typescript"],
3636
"include": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
@@ -42,7 +42,7 @@ Create a `tsconfig.json` file in the project root and
4242

4343
Create a `reset.d.ts` file:
4444

45-
```ts
45+
```js
4646
import "@theahaco/ts-config/reset.d.ts"
4747
```
4848

@@ -53,7 +53,7 @@ If you're creating a library, you'll want the configuration to be more strict to
5353
be consumable in as many setups as possible. You can extend a different config
5454
instead:
5555

56-
```json
56+
```js
5757
extends: ["@theahaco/ts-config/typescript.lib"],
5858
```
5959

@@ -76,7 +76,7 @@ export default [
7676

7777
Add a line in `package.json` to point to this config file:
7878

79-
```json
79+
```js
8080
"prettier": "@theahaco/ts-config/prettier",
8181
```
8282

0 commit comments

Comments
 (0)