Shagen Ogandzhanian

Results 40 issues of Shagen Ogandzhanian

Following test case we have: ```ts declare module a { function ping(a: b.AlphaNumeric); } declare module b { type AlphaNumeric = string | number } export = a.ping ``` is...

domain:export qualifiers

Following code: ```ts // _core.d.ts export interface Something {} // decl.d.ts import "./_core"; declare module "./_core" { interface Static { getVersion(): string; } } ``` The will be compiled to:...

compilation-failure

compile file with following content: ```typescript export namespace My.Deeply.Nested.Response { interface Api {} } ``` with -p XXX flag one will get: ```kotlin @file:JsQualifier("XXX.My.Deeply.Nested.Response") @file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS", "EXTERNAL_DELEGATION") package...

compilation-failure

Following code: ```typescript // _core/index.d.ts export interface NextFunction {} // ------- import * as core from "_core"; interface NextFunction extends core.NextFunction { } ``` Will fail to even be translated,...

critical
translation-failure

This one is very close to #251 but still I need check that reasons are exactly the same (I mean, it looks like this but nevertheless) ```typescript import * as...

compilation-failure

I've just realised that we've completely misinterpreting this param in functions. As of now we just escape them. Let me just quite relevant part of typescript [documentation](https://www.typescriptlang.org/docs/handbook/functions.html): > ```typescript >...

kotlin-design
unusable-code
no-known-workarounds

This code: ```typescript declare class Album { label: Album.AlbumLabel; } declare namespace Album { class AlbumLabel { } } ``` Is converted to: ```kotlin @file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS", "EXTERNAL_DELEGATION") import...

minor
better-translation

In typescript `typeof` can be used for in type signature, like in following example ```typescript declare object something { version: string; buildNumber: number; } type Something = typeof something; declare...

proposal
better-translation

Consider following declaration (an excerpt from node/crypto.d.ts): ``` namespace generateKeyPair { function __promisify__(type: "rsa", options: RSAKeyPairOptions): Promise; function __promisify__(type: "rsa", options: RSAKeyPairOptions): Promise; function __promisify__(type: "rsa", options: RSAKeyPairOptions): Promise; function...

better-translation
needs research

Following code: ```ts export class DateTimeParseException extends Error { constructor(message?: string); } export class DateTimeException extends Error { constructor(message?: string); } Error из lib.es5.d.ts interface ErrorConstructor { new(message?: string): Error;...

compilation-failure
regression