diff --git a/docs/user-defined-type-functions.md b/docs/user-defined-type-functions.md index 38803f3..7ca151f 100644 --- a/docs/user-defined-type-functions.md +++ b/docs/user-defined-type-functions.md @@ -102,7 +102,7 @@ All attributes of newly created typelib are initialized with empty tables / arra | `getbooleansingleton(arg: boolean)` | `typelib` | returns an immutable runtime representation of a boolean singleton type of the argument | | `getunion(arg: {typelib})` | `typelib` | returns an immutable runtime representation of union type of its argument | | `getintersection(arg: {typelib})` | `typelib` | returns an immutable runtime representation of intersection type of its argument | -| `newtable()` | `typelib` | returns a mutable runtime representation of a `table` type | +| `newtable(props: {[typelib]: typelib}, indexer: {key: typelib, value: typelib}?)` | `typelib` | returns a mutable runtime representation of a `table` type | | `newmetatable()` | `typelib` | returns a mutable runtime representation of a metatable represented as a special property of the `table` type | | `newfunction()` | `typelib` | returns a mutable runtime representation of a `function` type | | `isnil(arg: typelib)` | `boolean` | returns true if the argument is syntactically a runtime representation of the built-in type `nil` |