Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 625 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 625 Bytes

zinderud typescript start

A Typescript 'Hello World' example project

Requirements

  • npm

Usage

TypeScript is a typed superset of JavaScript that compiles down to plain JavaScript, which also supports modern ES2015+ features.

<!-- index.html -->
<html>
<body>
  <script src="./index.ts"></script>
</body>
</html>

// index.ts
import message from './message'
console.log(message)
// message.ts
export default 'Hello, world

'

Setup

 
npm install

Start Auto-Refresh Build Process & Server

npm run dev

Local server is accessible at [http://localhost:1234]