Skip to content
#

typescript2

typescript logo

TypeScript is an open source programming language developed by Microsoft and first released in 2012. It is designed to add type safety to JavaScript while conforming as closely as possible to the syntax and semantics of the ECMAScript standard.

It is a syntactical superset of the JavaScript programming language; all valid JavaScript source code is also valid TypeScript source code, but not vice-versa. TypeScript compiles (or transpiles) to JavaScript, meaning that it can be utilized to target any JavaScript environment. It can be used to develop JavaScript for both client-side and server-side applications.

Here are 142 public repositories matching this topic...

davidm-public
davidm-public commented Jan 24, 2018

These work, for Vue + Typescript + Webpack:

  1. ./.storybook/config.js:
import { configure } from '@storybook/vue'

// automatically import all files ending in *.stories.js
const req = require.context('../src/stories', true, /.stories.ts$/);
function loadStories() {
  req.keys().forEach((filename) => req(filename));
}

configure(loadStories, module)
  1. ./.storybook/webpac
frostyandy2k
frostyandy2k commented Apr 8, 2018

Access user page for example like so:
localhost:8100/#/user/myproduct

Result will be "myproduct"

import { IonicPage, NavParams } from "ionic-angular";
import { Component } from "@angular/core";
import { NavController } from "ionic-angular";
import { TranslateService } from "@ngx-translate/core";

@IonicPage({
  name: "user",
  segment: "user/:product"
})
@Component({
  selector

Created by Microsoft

Released October 1, 2012

Latest release 3 days ago

Repository
Microsoft/TypeScript
Website
www.typescriptlang.org
Wikipedia
Wikipedia

Related Topics

es6 javascript language nodejs
You can’t perform that action at this time.