🐛 App > Add support to Typescript files
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Test
|
||||
*/
|
||||
class ClassName extends AnotherClass
|
||||
{
|
||||
function __construct( argument )
|
||||
{
|
||||
// code...
|
||||
}
|
||||
|
||||
function test()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
const myGreeter = new Greeter("hello, world");
|
||||
myGreeter.greeting = "howdy";
|
||||
myGreeter.showGreeting();
|
||||
|
||||
|
||||
class SpecialGreeter extends Greeter {
|
||||
constructor() {
|
||||
super("Very special greetings");
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user