microsoft/vscode-react-native

Public

mirrored fromhttps://github.com/microsoft/vscode-react-nativeAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
0.5.7

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

test/debugger/assets/hello.ts

13lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for details.
3class Hello {
4 constructor (public msg: string) {
5 }
6 public sayHello() {
7 return this.msg;
8 }
9}
10
11const hello = new Hello("HelloWorld!");
12
13console.log(hello.sayHello());