19 lines
742 B
Haxe
19 lines
742 B
Haxe
package js.lib;
|
|
|
|
typedef StringConstructor = {
|
|
@:selfCall
|
|
function call(?value:Dynamic):String;
|
|
final prototype : String;
|
|
function fromCharCode(codes:haxe.extern.Rest<Float>):String;
|
|
/**
|
|
Return the String value whose elements are, in order, the elements in the List elements.
|
|
If length is 0, the empty string is returned.
|
|
**/
|
|
function fromCodePoint(codePoints:haxe.extern.Rest<Float>):String;
|
|
/**
|
|
String.raw is intended for use as a tag function of a Tagged Template String. When called
|
|
as such the first argument will be a well formed template call site object and the rest
|
|
parameter will contain the substitution values.
|
|
**/
|
|
function raw(template:TemplateStringsArray, substitutions:haxe.extern.Rest<Dynamic>):String;
|
|
}; |