代码拉取完成,页面将自动刷新
Convert ActionScript 3
to TypeScript
using pure HTML5.
or
$npm i as2ts-cli -g
$as2ts -h
Usage: as2ts [options]
--help, -h
Displays help information about this script
'as2ts -h' or 'as2ts --help'
--output, -o
Defines an output filename for script
'script --output=file.ts file.as' or 'script -o file.ts file.as'
Boolean
to boolean
uint
/ int
/ Number
to number
String
to string
:*
to :any
package
to module
import
statements ?public class
to export class
public final class
to export class
public interface
to export interface
public function class_name(...):void
to constructor(...)
internal
to public
static (public|private|protected)
to (public|private|protected) static
(private|public|protected) var
to (private|public|protected)
(private|public|protected) const
to (private|public|protected)
(override) (private|public|protected) function
to (private|public|protected)
(private|public|protected) static var
to (private|public|protected) static
(private|public|protected) static const
to (private|public|protected) static
(private|public|protected) static function
to (private|public|protected) static
const
to var
A as B
to <B> A
:Array
to :any[]
:Vector.<type> =
to type[] =
:Vector.<type>;
to type[];
: Vector.<type> {
to type[] {
new Vector.<type>(7,true)
to []
new <type>[1,2,3]
to [1,2,3]
Vector.<type>([1, 2, 3])
to [1, 2, 3]
trace
to console.log
nshen121[at]gmail.com
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。