changed type() to typeof() in docs and error messages (#14084)
This commit is contained in:
parent
dd5ccc3e5a
commit
b2141fc2a1
9 changed files with 13 additions and 13 deletions
|
|
@ -83,7 +83,7 @@ proc toJsKey*[T: SomeFloat](text: cstring, t: type T): T {.importcpp: "parseFloa
|
|||
|
||||
type
|
||||
JsKey* = concept a, type T
|
||||
cstring.toJsKey(T) is type(a)
|
||||
cstring.toJsKey(T) is T
|
||||
|
||||
JsObject* = ref object of JsRoot
|
||||
## Dynamically typed wrapper around a JavaScript object.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue