SYMBOL INDEX (397 symbols across 73 files) FILE: code/async-await/es5/asyncAwaitES5.js function fulfilled (line 3) | function fulfilled(value) { try { step(generator.next(value)); } catch (... function rejected (line 4) | function rejected(value) { try { step(generator["throw"](value)); } catc... function step (line 5) | function step(result) { result.done ? resolve(result.value) : new P(func... function verb (line 12) | function verb(n) { return function (v) { return step([n, v]); }; } function step (line 13) | function step(op) { function delay (line 36) | function delay(milliseconds, count) { function dramaticWelcome (line 44) | function dramaticWelcome() { FILE: code/async-await/es5/asyncAwaitES5.ts function delay (line 1) | function delay(milliseconds: number, count: number): Promise { function dramaticWelcome (line 10) | async function dramaticWelcome(): Promise { FILE: code/async-await/es6/asyncAwaitES6.js function fulfilled (line 3) | function fulfilled(value) { try { step(generator.next(value)); } catch (... function rejected (line 4) | function rejected(value) { try { step(generator["throw"](value)); } catc... function step (line 5) | function step(result) { result.done ? resolve(result.value) : new P(func... function delay (line 9) | function delay(milliseconds, count) { function dramaticWelcome (line 17) | function dramaticWelcome() { FILE: code/async-await/es6/asyncAwaitES6.ts function delay (line 1) | function delay(milliseconds: number, count: number): Promise { function dramaticWelcome (line 10) | async function dramaticWelcome(): Promise { FILE: code/compiler/parser/runParser.js function printAllChildren (line 2) | function printAllChildren(node, depth) { FILE: code/compiler/parser/runParser.ts function printAllChildren (line 3) | function printAllChildren(node: ts.Node, depth = 0) { FILE: code/compiler/scanner/runScanner.js function initializeState (line 3) | function initializeState(text) { FILE: code/compiler/scanner/runScanner.ts function initializeState (line 7) | function initializeState(text: string) { FILE: code/compiler/scanner/runScannerWithPositions.js function initializeState (line 3) | function initializeState(text) { FILE: code/compiler/scanner/runScannerWithPositions.ts function initializeState (line 7) | function initializeState(text: string) { FILE: code/compiler/typings/node/node.d.ts type Buffer (line 63) | interface Buffer extends NodeBuffer {} type ErrnoException (line 142) | interface ErrnoException extends Error { type EventEmitter (line 150) | interface EventEmitter { type ReadableStream (line 161) | interface ReadableStream extends EventEmitter { type WritableStream (line 174) | interface WritableStream extends EventEmitter { type ReadWriteStream (line 185) | interface ReadWriteStream extends ReadableStream, WritableStream {} type Process (line 187) | interface Process extends EventEmitter { type Global (line 255) | interface Global { type Timer (line 320) | interface Timer { type NodeBuffer (line 329) | interface NodeBuffer { class EventEmitter (line 395) | class EventEmitter implements NodeJS.EventEmitter { type Server (line 414) | interface Server extends events.EventEmitter { type ServerRequest (line 426) | interface ServerRequest extends IncomingMessage { type ServerResponse (line 429) | interface ServerResponse extends events.EventEmitter, stream.Writable { type ClientRequest (line 455) | interface ClientRequest extends events.EventEmitter, stream.Writable { type IncomingMessage (line 476) | interface IncomingMessage extends events.EventEmitter, stream.Readable { type ClientResponse (line 504) | interface ClientResponse extends IncomingMessage { } type AgentOptions (line 506) | interface AgentOptions { class Agent (line 526) | class Agent { type ClusterSettings (line 559) | interface ClusterSettings { class Worker (line 565) | class Worker extends events.EventEmitter { type ZlibOptions (line 597) | interface ZlibOptions { chunkSize?: number; windowBits?: number; level?:... type Gzip (line 599) | interface Gzip extends stream.Transform { } type Gunzip (line 600) | interface Gunzip extends stream.Transform { } type Deflate (line 601) | interface Deflate extends stream.Transform { } type Inflate (line 602) | interface Inflate extends stream.Transform { } type DeflateRaw (line 603) | interface DeflateRaw extends stream.Transform { } type InflateRaw (line 604) | interface InflateRaw extends stream.Transform { } type Unzip (line 605) | interface Unzip extends stream.Transform { } type ServerOptions (line 685) | interface ServerOptions { type RequestOptions (line 700) | interface RequestOptions { type Agent (line 718) | interface Agent { type Server (line 726) | interface Server extends tls.Server { } type ucs2 (line 739) | interface ucs2 { type ReplOptions (line 750) | interface ReplOptions { type ReadLine (line 768) | interface ReadLine extends events.EventEmitter { type ReadLineOptions (line 777) | interface ReadLineOptions { type Context (line 787) | interface Context { } type Script (line 788) | interface Script { type ChildProcess (line 803) | interface ChildProcess extends events.EventEmitter { type Url (line 877) | interface Url { type UrlOptions (line 892) | interface UrlOptions { type Socket (line 928) | interface Socket extends stream.Duplex { type Server (line 971) | interface Server extends Socket { type RemoteInfo (line 996) | interface RemoteInfo { type AddressInfo (line 1002) | interface AddressInfo { type Socket (line 1010) | interface Socket extends events.EventEmitter { type Stats (line 1027) | interface Stats { type FSWatcher (line 1050) | interface FSWatcher extends events.EventEmitter { type ReadStream (line 1054) | interface ReadStream extends stream.Readable { type WriteStream (line 1057) | interface WriteStream extends stream.Writable { type ParsedPath (line 1310) | interface ParsedPath { type NodeStringDecoder (line 1452) | interface NodeStringDecoder { type TlsOptions (line 1469) | interface TlsOptions { type ConnectionOptions (line 1484) | interface ConnectionOptions { type Server (line 1498) | interface Server extends net.Server { type ClearTextStream (line 1516) | interface ClearTextStream extends stream.Duplex { type SecurePair (line 1533) | interface SecurePair { type SecureContextOptions (line 1538) | interface SecureContextOptions { type SecureContext (line 1549) | interface SecureContext { type CredentialDetails (line 1562) | interface CredentialDetails { type Credentials (line 1571) | interface Credentials { context?: any; } type Hash (line 1576) | interface Hash { type Hmac (line 1582) | interface Hmac { type Cipher (line 1590) | interface Cipher { type Decipher (line 1599) | interface Decipher { type Signer (line 1607) | interface Signer { type Verify (line 1612) | interface Verify { type DiffieHellman (line 1618) | interface DiffieHellman { type Stream (line 1640) | interface Stream extends events.EventEmitter { type ReadableOptions (line 1644) | interface ReadableOptions { class Readable (line 1650) | class Readable extends events.EventEmitter implements NodeJS.ReadableStr... type WritableOptions (line 1666) | interface WritableOptions { class Writable (line 1671) | class Writable extends events.EventEmitter implements NodeJS.WritableStr... type DuplexOptions (line 1685) | interface DuplexOptions extends ReadableOptions, WritableOptions { class Duplex (line 1690) | class Duplex extends Readable implements NodeJS.ReadWriteStream { type TransformOptions (line 1704) | interface TransformOptions extends ReadableOptions, WritableOptions {} class Transform (line 1707) | class Transform extends events.EventEmitter implements NodeJS.ReadWriteS... class PassThrough (line 1733) | class PassThrough extends Transform {} type InspectOptions (line 1737) | interface InspectOptions { class AssertionError (line 1762) | class AssertionError implements Error { type ReadStream (line 1806) | interface ReadStream extends net.Socket { type WriteStream (line 1810) | interface WriteStream extends net.Socket { class Domain (line 1819) | class Domain extends events.EventEmitter { FILE: code/declarationspaces/declarationspace.js function Foo (line 4) | function Foo() { function Foo (line 20) | function Foo() { function log (line 38) | function log(msg) { function error (line 42) | function error(msg) { function Foo (line 52) | function Foo() { function Foo (line 62) | function Foo() { FILE: code/declarationspaces/declarationspace.ts class Foo (line 2) | class Foo { } type Bar (line 3) | interface Bar { } type Bas (line 4) | type Bas = {} type Bar (line 12) | interface Bar { } class Foo (line 17) | class Foo { } function log (line 36) | function log(msg) { function error (line 39) | function error(msg) { class Foo (line 50) | class Foo { } class Foo (line 56) | class Foo { } FILE: code/dynamic-import-expressions/dynamicImportExpression.js function myApp (line 2) | function myApp() { FILE: code/dynamic-import-expressions/dynamicImportExpression.ts function myApp (line 2) | function myApp() { FILE: code/errors/interpreting-errors.ts type SomethingComplex (line 3) | type SomethingComplex = { function takeSomethingComplex (line 7) | function takeSomethingComplex(arg: SomethingComplex) { function getBar (line 9) | function getBar(): string { FILE: code/es6/classes/abstract.js function Restable (line 3) | function Restable() { FILE: code/es6/classes/abstract.ts class Restable (line 3) | class Restable { FILE: code/es6/classes/class.js function __ (line 3) | function __() { this.constructor = d; } function Point (line 8) | function Point(x, y) { function Point3D (line 22) | function Point3D(x, y, z) { function Something (line 33) | function Something() { FILE: code/es6/classes/class.ts class Point (line 1) | class Point { method constructor (line 4) | constructor(x: number, y: number) { method add (line 8) | add(point: Point) { class Point3D (line 17) | class Point3D extends Point { method constructor (line 19) | constructor(x: number, y: number, z: number) { method add (line 23) | add(point: Point3D) { class Something (line 29) | class Something { method constructor (line 31) | constructor() { FILE: code/es6/classes/super.js function __ (line 3) | function __() { this.constructor = d; } function Base (line 10) | function Base() { function Child (line 17) | function Child() { function Base (line 28) | function Base() { function Child (line 35) | function Child() { function Base (line 46) | function Base() { function Child (line 53) | function Child() { FILE: code/es6/classes/super.ts class Base (line 4) | class Base { method log (line 5) | log() { console.log('hello world'); } class Child (line 8) | class Child extends Base { method logWorld (line 9) | logWorld() { super.log() } method logWorld (line 19) | logWorld() { this.log() } method logWorld (line 29) | logWorld() { super.log() } class Base (line 14) | class Base { method log (line 5) | log() { console.log('hello world'); } class Child (line 18) | class Child extends Base { method logWorld (line 9) | logWorld() { super.log() } method logWorld (line 19) | logWorld() { this.log() } method logWorld (line 29) | logWorld() { super.log() } class Base (line 24) | class Base { method log (line 5) | log() { console.log('hello world'); } class Child (line 28) | class Child extends Base { method logWorld (line 9) | logWorld() { super.log() } method logWorld (line 19) | logWorld() { this.log() } method logWorld (line 29) | logWorld() { super.log() } FILE: code/es6/enums.js function printAnimalAbilities (line 30) | function printAnimalAbilities(animal) { function isBusinessDay (line 64) | function isBusinessDay(day) { FILE: code/es6/enums.ts type Color (line 3) | enum Color { type Color (line 9) | enum Color { type Tristate (line 19) | enum Tristate { type AnimalFlags (line 35) | enum AnimalFlags { function printAnimalAbilities (line 41) | function printAnimalAbilities(animal) { type Weekday (line 65) | enum Weekday { function isBusinessDay (line 75) | function isBusinessDay(day: Weekday) { FILE: code/es6/iterators.js function Component (line 2) | function Component(name) { function Frame (line 8) | function Frame(name, components) { FILE: code/es6/iterators.ts class Component (line 7) | class Component { method constructor (line 8) | constructor (public name: string) {} class Frame (line 11) | class Frame { method constructor (line 15) | constructor(public name: string, public components: Component[]) {} method next (line 17) | public next(): {done: boolean, value?: Component} { FILE: code/es6/let.js function test (line 21) | function test() { FILE: code/es6/let.ts function test (line 19) | function test() { FILE: code/es6/rest-parameters.js function iTakeItAll (line 3) | function iTakeItAll(first, second) { FILE: code/es6/rest-parameters.ts function iTakeItAll (line 2) | function iTakeItAll(first, second, ...allOthers) { FILE: code/es6/template-strings.js function htmlEscape (line 31) | function htmlEscape(literals) { FILE: code/es6/template-strings.ts function htmlEscape (line 34) | function htmlEscape(literals, ...placeholders) { FILE: code/javascript/closure.js function outerFunction (line 2) | function outerFunction(arg) { function outerFunction (line 12) | function outerFunction(arg) { function createCounter (line 23) | function createCounter() { FILE: code/javascript/closure.ts function outerFunction (line 1) | function outerFunction(arg) { function outerFunction (line 16) | function outerFunction(arg) { function createCounter (line 31) | function createCounter() { FILE: code/tips/bindIsBad.js function Adder (line 3) | function Adder(a) { function useAdd (line 11) | function useAdd(add) { function twoParams (line 17) | function twoParams(a, b) { function twoParams (line 25) | function twoParams(a, b) { FILE: code/tips/bindIsBad.ts class Adder (line 3) | class Adder { method constructor (line 4) | constructor(public a: string) { } method add (line 6) | add(b: string): string { function useAdd (line 11) | function useAdd(add: (x: number) => number) { function twoParams (line 20) | function twoParams(a: number, b: number) { function twoParams (line 28) | function twoParams(a: number, b: number) { FILE: code/tips/lazyObjectLiteralInitialization.ts type Foo (line 21) | interface Foo { FILE: code/tips/mixins.js function __ (line 3) | function __() { this.constructor = d; } function Disposable (line 7) | function Disposable() { function Activatable (line 15) | function Activatable() { function SmartObject (line 32) | function SmartObject() { function applyMixins (line 45) | function applyMixins(derivedCtor, baseCtors) { FILE: code/tips/mixins.ts class Disposable (line 2) | class Disposable { method dispose (line 4) | dispose() { class Activatable (line 11) | class Activatable { method activate (line 13) | activate() { method deactivate (line 16) | deactivate() { type ActivatibleDisposible (line 21) | interface ActivatibleDisposible extends Disposable, Activatable { class SmartObject (line 31) | class SmartObject extends ActivatibleDisposible { method constructor (line 32) | constructor() { method interact (line 37) | interact() { function applyMixins (line 50) | function applyMixins(derivedCtor: any, baseCtors: any[]) { FILE: code/tips/nominalTyping.ts type Id (line 3) | type Id = { type FooId (line 9) | type FooId = Id<'foo'>; type BarId (line 10) | type BarId = Id<'bar'>; type FooIdBrand (line 25) | enum FooIdBrand { } type FooId (line 26) | type FooId = FooIdBrand & string; type BarIdBrand (line 29) | enum BarIdBrand { } type BarId (line 30) | type BarId = BarIdBrand & string; type FooId (line 55) | interface FooId extends String { type BarId (line 60) | interface BarId extends String { FILE: code/tips/statefulFunctions.js function class_1 (line 2) | function class_1() { FILE: code/tips/stringEnums.ts type TriState (line 27) | type TriState = 'False' | 'True' | 'Unknown'; FILE: code/types/assertion.js function handler1 (line 21) | function handler1(event) { function handler2 (line 24) | function handler2(event) { function handler (line 27) | function handler(event) { FILE: code/types/assertion.ts type Foo (line 10) | interface Foo { function handler1 (line 27) | function handler1(event: Event) { function handler2 (line 31) | function handler2(event: Event) { function handler (line 35) | function handler(event: Event) { FILE: code/types/callable.ts type ReturnString (line 5) | interface ReturnString { type Complex (line 13) | interface Complex { type Overloaded (line 17) | interface Overloaded { type CallMeWithNewToGetString (line 39) | interface CallMeWithNewToGetString { FILE: code/types/freshness/freshness.js function logName (line 4) | function logName(something) { function logName (line 16) | function logName(something) { function logIfHasName (line 24) | function logIfHasName(something) { FILE: code/types/freshness/freshness.ts function logName (line 4) | function logName(something: { name: string }) { function logName (line 18) | function logName(something: { name: string }) { function logIfHasName (line 27) | function logIfHasName(something: { name?: string }) { type State (line 47) | interface State { class MyComponent (line 52) | class MyComponent { method setState (line 55) | setState(state: State) { method doSomething (line 59) | doSomething() { method setState (line 79) | setState(state: State) { method doSomething (line 83) | doSomething() { type State (line 71) | interface State { class MyComponent (line 76) | class MyComponent { method setState (line 55) | setState(state: State) { method doSomething (line 59) | doSomething() { method setState (line 79) | setState(state: State) { method doSomething (line 83) | doSomething() { FILE: code/types/freshness/index-signatures.js function Foo (line 10) | function Foo(message) { FILE: code/types/freshness/index-signatures.ts class Foo (line 7) | class Foo { method constructor (line 8) | constructor(public message: string) { } method log (line 9) | log() { method toString (line 20) | toString() { method toString (line 39) | toString() { type Foo (line 92) | interface Foo { method constructor (line 8) | constructor(public message: string) { } method log (line 9) | log() { type Bar (line 98) | interface Bar { type Foo (line 106) | interface Foo { method constructor (line 8) | constructor(public message: string) { } method log (line 9) | log() { type ArrStr (line 117) | interface ArrStr { type NestedCSS (line 128) | interface NestedCSS { type NestedCSS (line 146) | interface NestedCSS { FILE: code/types/functions.js function foo (line 5) | function foo(sampleParameter) { } function foo (line 9) | function foo(sample) { function foo (line 15) | function foo(sample) { function foo (line 21) | function foo() { function foo (line 28) | function foo(bar, bas) { function foo (line 35) | function foo(bar, bas) { function padding (line 44) | function padding(a, b, c, d) { function padding (line 63) | function padding(a, b, c, d) { FILE: code/types/functions.ts function foo (line 9) | function foo(sampleParameter: { bar: number }) { } type Foo (line 13) | interface Foo { function foo (line 18) | function foo(sample: Foo) { type Foo (line 24) | interface Foo { function foo (line 28) | function foo(sample: Foo) { function foo (line 34) | function foo() { function foo (line 42) | function foo(bar: number, bas?: string): void { function foo (line 51) | function foo(bar: number, bas: string = 'world') { function padding (line 60) | function padding(a: number, b?: number, c?: number, d?: any) { function padding (line 81) | function padding(a: number, b?: number, c?: number, d?: number) { FILE: code/types/generics.js function Queue (line 4) | function Queue() { function QueueNumber (line 21) | function QueueNumber() { function Queue (line 36) | function Queue() { FILE: code/types/generics.ts class Queue (line 2) | class Queue { class QueueNumber (line 18) | class QueueNumber { class Queue (line 33) | class Queue { type LoadUsersResponse (line 62) | type LoadUsersResponse = { function loadUsers (line 68) | function loadUsers() { FILE: code/types/interfaces.js function MyPoint (line 4) | function MyPoint() { function MyPoint (line 12) | function MyPoint() { FILE: code/types/interfaces.ts type Point (line 2) | interface Point { class MyPoint (line 6) | class MyPoint implements Point { type Point (line 12) | interface Point { class MyPoint (line 17) | class MyPoint implements Point { // ERROR : missing member `z` FILE: code/types/keyof.ts type Colors (line 6) | type Colors = keyof typeof colors; FILE: code/types/lib/usage/libd.ts type Window (line 6) | interface Window { type Math (line 18) | interface Math { type Date (line 25) | interface Date { type String (line 29) | interface String { FILE: code/types/literal-types.js function move (line 9) | function move(distance, direction) { FILE: code/types/literal-types.ts type CardinalDirection (line 8) | type CardinalDirection = function move (line 14) | function move(distance: number, direction: CardinalDirection) { function strEnum (line 25) | function strEnum(o: Array): {[K in T]: K} { type Direction (line 44) | type Direction = keyof typeof Direction; FILE: code/types/migrating/migrating.ts type JQuery (line 2) | type JQuery = any; FILE: code/types/readonly.js function __ (line 4) | function __() { this.constructor = d; } function foo (line 9) | function foo(config) { function Foo (line 22) | function Foo() { function Something (line 34) | function Something() { function Person (line 57) | function Person() { function iMutateFoo (line 84) | function iMutateFoo(foo) { function iTakeFoo (line 95) | function iTakeFoo(foo) { FILE: code/types/readonly.ts function foo (line 2) | function foo(config: { type Foo (line 15) | type Foo = { method constructor (line 32) | constructor() { class Foo (line 29) | class Foo { method constructor (line 32) | constructor() { class Component (line 40) | class Component{ } type Props (line 43) | interface Props { type State (line 46) | interface State { class Something (line 49) | class Something extends React.Component{ type Foo (line 60) | interface Foo { method constructor (line 32) | constructor() { class Person (line 81) | class Person { method fullName (line 84) | get fullName() { function iMutateFoo (line 108) | function iMutateFoo(foo: { bar: number }) { type Foo (line 117) | interface Foo { method constructor (line 32) | constructor() { function iTakeFoo (line 124) | function iTakeFoo(foo: Foo) { FILE: code/types/stringLiteralType.js function move (line 9) | function move(distance, direction) { FILE: code/types/type-compatibility.js function __ (line 4) | function __() { this.constructor = d; } function Animal (line 52) | function Animal() { function Cat (line 58) | function Cat() { function Size (line 68) | function Size() { function Animal (line 79) | function Animal(name) { function Cat (line 86) | function Cat() { FILE: code/types/type-compatibility.ts type Point2D (line 23) | interface Point2D { x: number; y: number; } type Point3D (line 24) | interface Point3D { x: number; y: number; z: number; } type Point2D (line 46) | interface Point2D { x: number; y: number; } type Point3D (line 47) | interface Point3D { x: number; y: number; z: number; } class Animal (line 59) | class Animal { protected feet: number; } method constructor (line 80) | constructor(public name: string){} class Cat (line 60) | class Cat extends Animal { } method meow (line 81) | meow() { } class Size (line 69) | class Size { protected feet: number; } class Animal (line 80) | class Animal { constructor(public name: string){} } method constructor (line 80) | constructor(public name: string){} class Cat (line 81) | class Cat extends Animal { meow() { } } method meow (line 81) | meow() { } FILE: code/types/type-inference.js function add (line 9) | function add(a, b) { function iTakeAnAdder (line 26) | function iTakeAnAdder(adder) { function iTakeAnAdder (line 63) | function iTakeAnAdder(adder) { function foo (line 81) | function foo(a, b) { function addOne (line 84) | function addOne(a) { FILE: code/types/type-inference.ts function add (line 9) | function add(a: number, b: number) { type Adder (line 15) | type Adder = (a: number, b: number) => number; type Adder (line 20) | type Adder = (a: number, b: number) => number; type Adder (line 28) | type Adder = (a: number, b: number) => number; function iTakeAnAdder (line 29) | function iTakeAnAdder(adder: Adder) { type Adder (line 72) | type Adder = (numbers: { a: number, b: number }) => number; function iTakeAnAdder (line 73) | function iTakeAnAdder(adder: Adder) { type TwoNumberFunction (line 89) | type TwoNumberFunction = (a: number, b: number) => void; function foo (line 94) | function foo(a: number, b: number) { function addOne (line 97) | function addOne(a) { FILE: code/types/typeGuard.js function doSomething (line 4) | function doSomething(x) { function Foo (line 15) | function Foo() { function Bar (line 22) | function Bar() { function doStuff (line 28) | function doStuff(arg) { function Foo (line 47) | function Foo() { function Bar (line 53) | function Bar() { function doStuff (line 58) | function doStuff(arg) { function isFoo (line 73) | function isFoo(arg) { function doStuff (line 76) | function doStuff(arg) { FILE: code/types/typeGuard.ts function doSomething (line 2) | function doSomething(x: number | string) { class Foo (line 12) | class Foo { class Bar (line 17) | class Bar { function doStuff (line 22) | function doStuff(arg: Foo | Bar) { class Foo (line 42) | class Foo { class Bar (line 46) | class Bar { function doStuff (line 50) | function doStuff(arg: Foo | Bar) { type Foo (line 70) | interface Foo { type Bar (line 75) | interface Bar { function isFoo (line 83) | function isFoo(arg: any): arg is Foo { function doStuff (line 90) | function doStuff(arg: Foo | Bar) { FILE: code/types/types.js function identity (line 4) | function identity(num) { function log (line 93) | function log(message) { function reverse (line 99) | function reverse(items) { function formatCommandline (line 144) | function formatCommandline(command) { function getOrSet (line 170) | function getOrSet(value) { function getOrSet (line 184) | function getOrSet(value) { function callMe (line 197) | function callMe(v1, v2) { FILE: code/types/types.ts function identity (line 3) | function identity(num: number): number { type Name (line 40) | interface Name { function log (line 106) | function log(message): void { function reverse (line 112) | function reverse(items: T[]): T[] { function formatCommandline (line 146) | function formatCommandline(command: string[]|string) { function getOrSet (line 173) | function getOrSet(value) { function getOrSet (line 190) | function getOrSet(value?: number) { function callMe (line 208) | function callMe(v1?: any, v2?: any): any { type StrOrNum (line 223) | type StrOrNum = string|number; FILE: docs/styleguide/sample.js function BarFunc (line 5) | function BarFunc() { } function Foo (line 10) | function Foo() { FILE: docs/styleguide/sample.ts function BarFunc (line 5) | function BarFunc() { } class Foo (line 9) | class Foo { method baz (line 11) | baz() { }