@@ -230,7 +230,7 @@ export type PrimParamsSetterType = typeof(
230230)
231231
232232
233- declare function assert <T >(value : T ? , message : string ? ): T
233+ declare function assert <T >(value : T ? , message : string ? ): T -- magic type
234234declare function dangerouslyexecuterequiredmodule (f : (...any ) -> ...any ): ...any
235235declare function error (obj : any , level : number ? ): never
236236declare function gcinfo (): number
@@ -247,10 +247,10 @@ declare function rawequal(a: any, b: any): boolean
247247declare function rawget <K , V >(t : {[K ]: V }, k : K ): V ?
248248declare function rawlen <K , V >(t : {[K ]: V } | string ): number
249249declare function rawset <K , V >(t : {[K ]: V }, k : K , v : V ): {[K ]: V }
250- declare function require (target : string ): any
251- declare function select (i : string | number , ... any ): any
250+ declare function require (target : string ): any -- magic type
251+ declare function select (i : string | number , ... any ): any -- magic type
252252declare setfenv : nil
253- declare function setmetatable (t : { [any ]: any }, mt : { [any ]: any }? ): ()
253+ declare function setmetatable (t : { [any ]: any }, mt : { [any ]: any }? ): () -- magic type
254254declare function tonumber (s : string , base : number ? ): number ?
255255declare function toquaternion (val : string ? | quaternion ): quaternion ?
256256declare function torotation (val : string ? | quaternion ): quaternion ?
@@ -474,14 +474,14 @@ declare quaternion: ((x: number, y: number, z: number, s: number) -> quaternion)
474474declare string : {
475475 byte : (s : string , i : number ? , j : number ? ) -> ...number ,
476476 char : (...number ) -> string ,
477- find : (s : string , pattern : string , init : number ? , plain : boolean ? ) -> (number ? , number ? , ...string ),
478- format : (formatstring : string , ...any ) -> string ,
479- gmatch : (s : string , pattern : string ) -> () -> ...string ,
477+ find : (s : string , pattern : string , init : number ? , plain : boolean ? ) -> (number ? , number ? , ...string ), -- magic type
478+ format : (formatstring : string , ...any ) -> string , -- magic type
479+ gmatch : (s : string , pattern : string ) -> () -> ...string , -- magic type
480480 gsub : (s : string , pattern : string , repl : string | { [string ]: string } | (...string ) -> string , maxn : number ? ) -> (string , number ),
481481 len : (s : string ) -> number ,
482482 lower : (s : string ) -> string ,
483- match : (s : string , pattern : string , init : number ? ) -> ...string ,
484- pack : (fmt : string , ...any ) -> string ,
483+ match : (s : string , pattern : string , init : number ? ) -> ...string , -- magic type
484+ pack : (fmt : string , ...any ) -> string , -- magic type
485485 packsize : (fmt : string ) -> number ,
486486 rep : (s : string , n : number ) -> string ,
487487 reverse : (s : string ) -> string ,
@@ -515,9 +515,9 @@ declare table: {
515515 find : <V >(t : {V }, v : V , i : number ? ) -> number ? ,
516516 clear : (t : {}) -> (),
517517 shrink : <V >(t : {V }, shrink_sparse : boolean ? ) -> {V },
518- freeze : <table >(t : table ) -> table ,
518+ freeze : <table >(t : table ) -> table , -- magic type
519519 isfrozen : (t : {}) -> boolean ,
520- clone : <table >(t : table ) -> table ,
520+ clone : <table >(t : table ) -> table , -- magic type
521521}
522522
523523
0 commit comments