Skip to content

Commit 3bd8000

Browse files
committed
add a simple demo file
1 parent 16d5e54 commit 3bd8000

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/demo.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
function highlight(text?: string) {
2+
return text?.length;
3+
}

tests/demo.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// NOTE: This file is full of compiler errors because it is copied from another project.
2+
// It is intended as a complex test of coloring, so just ignore the red lines.
3+
14
/*
25
* Copyright 2016 Palantir Technologies, Inc. All rights reserved.
36
* Licensed under the BSD-3 License as modified (the “License”); you may obtain a copy

0 commit comments

Comments
 (0)