Skip to content

Commit 6c3ff80

Browse files
authored
docs: make the requirement to choose Lua version clearer
1 parent 1f064dc commit 6c3ff80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
## Installation
88

9-
> NOTE: In most of cases your environment-specific types would already include this package. In that case you don't need to do anything. If you're a developer of such types you should add `lua-types` as a dependency and load it by adding `/// <reference types="lua-types/version" />`
9+
> NOTE: In most of cases your environment-specific types would already include this package. In that case you don't need to do anything. If you're a developer of such types you should add `lua-types` as a dependency and load it by adding `/// <reference types="lua-types/<version>" />`
1010
1111
1. Get this package from npm
1212

@@ -21,12 +21,12 @@ npm install -D lua-types
2121
```diff
2222
{
2323
"compilerOptions": {
24-
+ "types": ["lua-types/version"]
24+
+ "types": ["lua-types/<version>"]
2525
}
2626
}
2727
```
2828

29-
Currently supported versions are:
29+
Where `<version>` is one of:
3030

3131
- `5.1`
3232
- `5.2`

0 commit comments

Comments
 (0)