Skip to content

Commit 68df1f4

Browse files
authored
Merge pull request #11 from colmugx/patch-1
fix: `LuaIterator` to `LuaIterable`
2 parents 8908434 + d891199 commit 68df1f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/advanced/compiler-annotations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ Denotes a type is a Lua iterator. When an object of a type with this annotation
218218
/** @luaIterator */
219219
type LuaIterable<T> = Iterable<T>;
220220

221-
declare function myIterator(): LuaIterator<string>;
221+
declare function myIterator(): LuaIterable<string>;
222222
for (const s of myIterator()) {}
223223
```
224224

0 commit comments

Comments
 (0)