Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmiei committed Sep 27, 2024
1 parent ede4f45 commit 95e1395
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/integration/source/transpilable.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@

class Second {

classProp: string = "classProp";

public stringifyNumber(arg: number) {
return arg.toString();
}
Expand Down Expand Up @@ -29,6 +32,7 @@ class Test {

var instance = new Second();
console.log(instance.stringifyNumber(4)); // should print 4
console.log(instance.classProp); // should print "classProp"

const arr = [1,2,3,4];

Expand Down

0 comments on commit 95e1395

Please sign in to comment.