? reflect-metadata Reflect.getMetadata() method doesn't return metadata on the prototype chain of provided object

I'm using reflect-metadata 0.1.2. I have a parent class as "MyCustom". export class MyCustom {}My "Home" component class extend this "MyCustom" class. @Component({ selector: 'home', templateUrl: './
 ? TypeScript: correct way to do string equality?

If I know x and y are both of type string, is the correct way to do string equality simply x == y? The linter I'm using complains about this. If you know x and y are both strings, using === is not
 ? Ionic 2: Use cordova plugin with Typescript that has its own namespace

I want to use the LibraryHelper plugin in my Ionic 2 app, but the docs for it defines its usage statically, e.g.:LibraryHelper.saveVideoToLibrary(....)NOT through:window.plugins.LibraryHelper.saveVid
 ? Test for array of string type in TypeScript

How can I test if a variable is an array of string in TypeScript? Something like this:function f(): string { var a: string[] = ["A", "B", "C"]; if (typeof a === "string[]") { return "
 ? How can I check whether an optional parameter was provided?

Given a function with optional parameters:function DoSomething(a, b?) { /** Implementation */}How can I determine whether an optional parameter was provided from within the function body? Currently
 ? How can I check whether an optional parameter was provided?

Given a function with optional parameters:function DoSomething(a, b?) { /** Implementation */}How can I determine whether an optional parameter was provided from within the function body? Currently
 ? How can I check whether an optional parameter was provided?

Given a function with optional parameters:function DoSomething(a, b?) { /** Implementation */}How can I determine whether an optional parameter was provided from within the function body? Currently
 ? How can I check whether an optional parameter was provided?

Given a function with optional parameters:function DoSomething(a, b?) { /** Implementation */}How can I determine whether an optional parameter was provided from within the function body? Currently
 ? How to override/hide methods with optional parameters?

Please see comments below:class MyClassA { constructor(optionalParam?: any) { } initialize(optionalParam?: any) { } }class MyClassB extends MyClassA { constructor(requiredParam: any)
 ? How can I add optional named parameters to a TypeScript function parameter?

I'd like to be able to define a method that accepts an arrow function as a parameter. The function parameter should be able to define 0 or more named parameters of its own. How can I do this?I've trie
 ? Can I make a parameter optional in a Typescript definition and function call?

Here is my call:this.enumService.getData('ContentStatus'),It's giving an error as my definition is:getData(controller: any, params: any);The function looks like this:getData = (controller, params) =&g
 ? How to pass optional parameters in TypeScript while omitting some other optional parameters?

Given the following signature:export interface INotificationService { error(message: string, title?: string, autoHideAfter? : number);}How can I call the function error() not specifying the title p
 ? Default values for optional parameters in options argument

I want to pass an object as argument for the constructor of a class. Some keys of the options object are optional.Is there a better / more idiomatic way of accomplishing the following in typescript? T
 ? Optional parameters for type parameters?

I have the following defined in my application:export interface ICallback<TReturnType> { (): TReturnType;}export interface ICallbackWithParam<TReturnType, TParamType> { (param: TPara
 ? Webpack with typescript external commonjs module

In order for my code below to work, I need to either repeat the require('./rolesService') clause in rolesView.ts , or uncomment the console.log statement. If I have neither of those lines, webpack doe
 ? Webpack with typescript external commonjs module

In order for my code below to work, I need to either repeat the require('./rolesService') clause in rolesView.ts , or uncomment the console.log statement. If I have neither of those lines, webpack doe

Page 1 of 388  |  Show More Pages:  Top Prev Next Last