File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,16 @@ Transforms absolute imports to relative from `paths` in your tsconfig.json
11
11
12
12
## Install
13
13
14
+ npm:
15
+
16
+ ``` sh
17
+ npm i -D typescript-transform-paths
18
+ ```
19
+
20
+ yarn:
21
+
14
22
``` sh
15
- $ npm i -D typescript-transform-paths
23
+ yarn add -D typescript-transform-paths
16
24
```
17
25
18
26
## Usage with [ ttypescript] ( https://github.com/cevek/ttypescript/ )
@@ -31,7 +39,7 @@ Add it to _plugins_ in your _tsconfig.json_
31
39
}
32
40
```
33
41
34
- ### Transforming declatation paths
42
+ ### Transforming declaration paths
35
43
36
44
If you want to generate declaration (_ .d.ts_ ) files with transformed paths you have to
37
45
modify your _ tsconfig.json_ file:
@@ -114,6 +122,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
114
122
115
123
<!-- markdownlint-enable -->
116
124
<!-- prettier-ignore-end -->
125
+
117
126
<!-- ALL-CONTRIBUTORS-LIST:END -->
118
127
119
128
This project follows the [ all-contributors] ( https://github.com/all-contributors/all-contributors )
You can’t perform that action at this time.
0 commit comments