Merge branch 'master' into requireJson

This commit is contained in:
Sheetal Nandi 2018-03-09 16:51:05 -08:00
commit 2d9af0b95c
113 changed files with 8822 additions and 252 deletions

View file

@ -1,31 +1,21 @@
defaultFilters: &defaultFilters
filters:
branches:
only:
- master
- release-2.5
- release-2.6
- release-2.7
workflows:
version: 2
main:
jobs:
- node9:
filters:
branches:
only:
- master
- release-2.5
- release-2.6
- release-2.7
<<: *defaultFilters
- node8:
filters:
branches:
only:
- master
- release-2.5
- release-2.6
- release-2.7
<<: *defaultFilters
- node6:
filters:
branches:
only:
- master
- release-2.5
- release-2.6
- release-2.7
<<: *defaultFilters
nightly:
triggers:
- schedule:
@ -35,31 +25,13 @@ workflows:
only: master
jobs:
- node9:
filters:
branches:
only:
- master
- release-2.5
- release-2.6
- release-2.7
<<: *defaultFilters
context: nightlies
- node8:
filters:
branches:
only:
- master
- release-2.5
- release-2.6
- release-2.7
<<: *defaultFilters
context: nightlies
- node6:
filters:
branches:
only:
- master
- release-2.5
- release-2.6
- release-2.7
<<: *defaultFilters
context: nightlies
base: &base
@ -67,7 +39,9 @@ base: &base
- workerCount: 4
- timeout: 400000
steps:
- checkout
- checkout:
post:
- git submodule update --init --recursive
- run: |
npm uninstall typescript --no-save
npm uninstall tslint --no-save

View file

@ -16,9 +16,8 @@ matrix:
branches:
only:
- master
- release-2.5
- release-2.6
- release-2.7
- release-2.8
install:
- npm uninstall typescript --no-save

View file

@ -8031,7 +8031,7 @@ namespace ts {
function getLiteralTypeFromPropertyName(prop: Symbol) {
const links = getSymbolLinks(getLateBoundSymbol(prop));
if (!links.nameType) {
if (links.target) {
if (links.target && links.target !== unknownSymbol && links.target !== resolvingSymbol) {
Debug.assert(links.target.escapedName === prop.escapedName || links.target.escapedName === InternalSymbolName.Computed, "Target symbol and symbol do not have the same name");
links.nameType = getLiteralTypeFromPropertyName(links.target);
}
@ -14115,7 +14115,7 @@ namespace ts {
}
}
function getContainingObjectLiteral(func: FunctionLike): ObjectLiteralExpression | undefined {
function getContainingObjectLiteral(func: SignatureDeclaration): ObjectLiteralExpression | undefined {
return (func.kind === SyntaxKind.MethodDeclaration ||
func.kind === SyntaxKind.GetAccessor ||
func.kind === SyntaxKind.SetAccessor) && func.parent.kind === SyntaxKind.ObjectLiteralExpression ? func.parent :
@ -14133,7 +14133,7 @@ namespace ts {
});
}
function getContextualThisParameterType(func: FunctionLike): Type {
function getContextualThisParameterType(func: SignatureDeclaration): Type {
if (func.kind === SyntaxKind.ArrowFunction) {
return undefined;
}
@ -14330,7 +14330,7 @@ namespace ts {
return false;
}
function getContextualReturnType(functionDecl: FunctionLike): Type {
function getContextualReturnType(functionDecl: SignatureDeclaration): Type {
// If the containing function has a return type annotation, is a constructor, or is a get accessor whose
// corresponding set accessor has a type annotation, return statements in the function are contextually typed
if (functionDecl.kind === SyntaxKind.Constructor ||
@ -18528,27 +18528,23 @@ namespace ts {
function checkAndAggregateYieldOperandTypes(func: FunctionLikeDeclaration, checkMode: CheckMode): Type[] {
const aggregatedTypes: Type[] = [];
const functionFlags = getFunctionFlags(func);
const isAsync = (getFunctionFlags(func) & FunctionFlags.Async) !== 0;
forEachYieldExpression(<Block>func.body, yieldExpression => {
const expr = yieldExpression.expression;
if (expr) {
let type = checkExpressionCached(expr, checkMode);
if (yieldExpression.asteriskToken) {
// A yield* expression effectively yields everything that its operand yields
type = checkIteratedTypeOrElementType(type, yieldExpression.expression, /*allowStringInput*/ false, (functionFlags & FunctionFlags.Async) !== 0);
}
if (functionFlags & FunctionFlags.Async) {
type = checkAwaitedType(type, expr, yieldExpression.asteriskToken
? Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member
: Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);
}
pushIfUnique(aggregatedTypes, type);
}
pushIfUnique(aggregatedTypes, getYieldedTypeOfYieldExpression(yieldExpression, isAsync, checkMode));
});
return aggregatedTypes;
}
function getYieldedTypeOfYieldExpression(node: YieldExpression, isAsync: boolean, checkMode?: CheckMode): Type {
const errorNode = node.expression || node;
const expressionType = node.expression ? checkExpressionCached(node.expression, checkMode) : undefinedWideningType;
// A `yield*` expression effectively yields everything that its operand yields
const yieldedType = node.asteriskToken ? checkIteratedTypeOrElementType(expressionType, errorNode, /*allowStringInput*/ false, isAsync) : expressionType;
return !isAsync ? yieldedType : getAwaitedType(yieldedType, errorNode, node.asteriskToken
? Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member
: Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);
}
function isExhaustiveSwitchStatement(node: SwitchStatement): boolean {
if (!node.possiblyExhaustive) {
return false;
@ -19504,62 +19500,40 @@ namespace ts {
}
}
if (node.expression) {
const func = getContainingFunction(node);
// If the user's code is syntactically correct, the func should always have a star. After all,
// we are in a yield context.
const functionFlags = func && getFunctionFlags(func);
if (node.asteriskToken) {
// Async generator functions prior to ESNext require the __await, __asyncDelegator,
// and __asyncValues helpers
if ((functionFlags & FunctionFlags.AsyncGenerator) === FunctionFlags.AsyncGenerator &&
languageVersion < ScriptTarget.ESNext) {
checkExternalEmitHelpers(node, ExternalEmitHelpers.AsyncDelegatorIncludes);
}
const func = getContainingFunction(node);
const functionFlags = func ? getFunctionFlags(func) : FunctionFlags.Normal;
// Generator functions prior to ES2015 require the __values helper
if ((functionFlags & FunctionFlags.AsyncGenerator) === FunctionFlags.Generator &&
languageVersion < ScriptTarget.ES2015 && compilerOptions.downlevelIteration) {
checkExternalEmitHelpers(node, ExternalEmitHelpers.Values);
}
if (!(functionFlags & FunctionFlags.Generator)) {
// If the user's code is syntactically correct, the func should always have a star. After all, we are in a yield context.
return anyType;
}
if (node.asteriskToken) {
// Async generator functions prior to ESNext require the __await, __asyncDelegator,
// and __asyncValues helpers
if ((functionFlags & FunctionFlags.AsyncGenerator) === FunctionFlags.AsyncGenerator &&
languageVersion < ScriptTarget.ESNext) {
checkExternalEmitHelpers(node, ExternalEmitHelpers.AsyncDelegatorIncludes);
}
if (functionFlags & FunctionFlags.Generator) {
const expressionType = checkExpressionCached(node.expression);
let expressionElementType: Type;
const nodeIsYieldStar = !!node.asteriskToken;
if (nodeIsYieldStar) {
expressionElementType = checkIteratedTypeOrElementType(expressionType, node.expression, /*allowStringInput*/ false, (functionFlags & FunctionFlags.Async) !== 0);
}
// There is no point in doing an assignability check if the function
// has no explicit return type because the return type is directly computed
// from the yield expressions.
const returnType = getEffectiveReturnTypeNode(func);
if (returnType) {
const signatureElementType = getIteratedTypeOfGenerator(getTypeFromTypeNode(returnType), (functionFlags & FunctionFlags.Async) !== 0) || anyType;
if (nodeIsYieldStar) {
checkTypeAssignableTo(
functionFlags & FunctionFlags.Async
? getAwaitedType(expressionElementType, node.expression, Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)
: expressionElementType,
signatureElementType,
node.expression,
/*headMessage*/ undefined);
}
else {
checkTypeAssignableTo(
functionFlags & FunctionFlags.Async
? getAwaitedType(expressionType, node.expression, Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)
: expressionType,
signatureElementType,
node.expression,
/*headMessage*/ undefined);
}
}
// Generator functions prior to ES2015 require the __values helper
if ((functionFlags & FunctionFlags.AsyncGenerator) === FunctionFlags.Generator &&
languageVersion < ScriptTarget.ES2015 && compilerOptions.downlevelIteration) {
checkExternalEmitHelpers(node, ExternalEmitHelpers.Values);
}
}
const isAsync = (functionFlags & FunctionFlags.Async) !== 0;
const yieldedType = getYieldedTypeOfYieldExpression(node, isAsync);
// There is no point in doing an assignability check if the function
// has no explicit return type because the return type is directly computed
// from the yield expressions.
const returnType = getEffectiveReturnTypeNode(func);
if (returnType) {
const signatureElementType = getIteratedTypeOfGenerator(getTypeFromTypeNode(returnType), isAsync) || anyType;
checkTypeAssignableTo(yieldedType, signatureElementType, node.expression || node, /*headMessage*/ undefined);
}
// Both yield and yield* expressions have type 'any'
return anyType;
}
@ -20711,12 +20685,12 @@ namespace ts {
let hasOverloads = false;
let bodyDeclaration: FunctionLikeDeclaration;
let lastSeenNonAmbientDeclaration: FunctionLikeDeclaration;
let previousDeclaration: FunctionLike;
let previousDeclaration: SignatureDeclaration;
const declarations = symbol.declarations;
const isConstructor = (symbol.flags & SymbolFlags.Constructor) !== 0;
function reportImplementationExpectedError(node: FunctionLike): void {
function reportImplementationExpectedError(node: SignatureDeclaration): void {
if (node.name && nodeIsMissing(node.name)) {
return;
}
@ -20778,7 +20752,7 @@ namespace ts {
let duplicateFunctionDeclaration = false;
let multipleConstructorImplementation = false;
for (const current of declarations) {
const node = <FunctionLike>current;
const node = <SignatureDeclaration>current;
const inAmbientContext = node.flags & NodeFlags.Ambient;
const inAmbientContextOrInterface = node.parent.kind === SyntaxKind.InterfaceDeclaration || node.parent.kind === SyntaxKind.TypeLiteral || inAmbientContext;
if (inAmbientContextOrInterface) {
@ -22786,12 +22760,12 @@ namespace ts {
// TODO: Check that target label is valid
}
function isGetAccessorWithAnnotatedSetAccessor(node: FunctionLike) {
function isGetAccessorWithAnnotatedSetAccessor(node: SignatureDeclaration) {
return node.kind === SyntaxKind.GetAccessor
&& getEffectiveSetAccessorTypeAnnotationNode(getDeclarationOfKind<SetAccessorDeclaration>(node.symbol, SyntaxKind.SetAccessor)) !== undefined;
}
function isUnwrappedReturnTypeVoidOrAny(func: FunctionLike, returnType: Type): boolean {
function isUnwrappedReturnTypeVoidOrAny(func: SignatureDeclaration, returnType: Type): boolean {
const unwrappedReturnType = (getFunctionFlags(func) & FunctionFlags.AsyncGenerator) === FunctionFlags.Async
? getPromisedTypeOfPromise(returnType) // Async function
: returnType; // AsyncGenerator function, Generator function, or normal function
@ -25512,7 +25486,7 @@ namespace ts {
return false;
}
function isImplementationOfOverload(node: FunctionLike) {
function isImplementationOfOverload(node: SignatureDeclaration) {
if (nodeIsPresent((node as FunctionLikeDeclaration).body)) {
const symbol = getSymbolOfNode(node);
const signaturesOfSymbol = getSignaturesOfSymbol(symbol);

View file

@ -2201,7 +2201,7 @@ namespace ts {
if (options.emitDeclarationOnly) {
if (!options.declaration) {
createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "emitDeclarationOnly", "declarations");
createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "emitDeclarationOnly", "declaration");
}
if (options.noEmit) {

View file

@ -1780,7 +1780,7 @@ namespace ts {
return createArrayLiteral(expressions);
}
function getParametersOfDecoratedDeclaration(node: FunctionLike, container: ClassLikeDeclaration) {
function getParametersOfDecoratedDeclaration(node: SignatureDeclaration, container: ClassLikeDeclaration) {
if (container && node.kind === SyntaxKind.GetAccessor) {
const { setAccessor } = getAllAccessorDeclarations(container.members, <AccessorDeclaration>node);
if (setAccessor) {

View file

@ -968,15 +968,8 @@ namespace ts {
| SetAccessorDeclaration
| FunctionExpression
| ArrowFunction;
export type FunctionLike =
| FunctionLikeDeclaration
| FunctionTypeNode
| ConstructorTypeNode
| IndexSignatureDeclaration
| MethodSignature
| ConstructSignatureDeclaration
| CallSignatureDeclaration
| JSDocFunctionType;
/** @deprecated Use SignatureDeclaration */
export type FunctionLike = SignatureDeclaration;
export interface FunctionDeclaration extends FunctionLikeDeclarationBase, DeclarationStatement {
kind: SyntaxKind.FunctionDeclaration;
@ -2870,7 +2863,7 @@ namespace ts {
*/
getResolvedSignature(node: CallLikeExpression, candidatesOutArray?: Signature[], argumentCount?: number): Signature;
getSignatureFromDeclaration(declaration: SignatureDeclaration): Signature | undefined;
isImplementationOfOverload(node: FunctionLike): boolean | undefined;
isImplementationOfOverload(node: SignatureDeclaration): boolean | undefined;
isUndefinedSymbol(symbol: Symbol): boolean;
isArgumentsSymbol(symbol: Symbol): boolean;
isUnknownSymbol(symbol: Symbol): boolean;

View file

@ -1047,7 +1047,7 @@ namespace ts {
}
}
export function getContainingFunction(node: Node): FunctionLike {
export function getContainingFunction(node: Node): SignatureDeclaration {
return findAncestor(node.parent, isFunctionLike);
}
@ -1825,7 +1825,7 @@ namespace ts {
return parameter && parameter.symbol;
}
export function getHostSignatureFromJSDoc(node: JSDocParameterTag): FunctionLike | undefined {
export function getHostSignatureFromJSDoc(node: JSDocParameterTag): SignatureDeclaration | undefined {
const host = getJSDocHost(node);
const decl = getSourceOfDefaultedAssignment(host) ||
getSourceOfAssignment(host) ||
@ -2160,7 +2160,7 @@ namespace ts {
AsyncGenerator = Async | Generator, // Function is an async generator function
}
export function getFunctionFlags(node: FunctionLike | undefined) {
export function getFunctionFlags(node: SignatureDeclaration | undefined) {
if (!node) {
return FunctionFlags.Invalid;
}
@ -5325,7 +5325,7 @@ namespace ts {
// Functions
export function isFunctionLike(node: Node): node is FunctionLike {
export function isFunctionLike(node: Node): node is SignatureDeclaration {
return node && isFunctionLikeKind(node.kind);
}

View file

@ -435,7 +435,7 @@ namespace FourSlash {
}
}
private markerName(m: Marker): string {
public markerName(m: Marker): string {
return ts.forEachEntry(this.testData.markerPositions, (marker, name) => {
if (marker === m) {
return name;
@ -3768,6 +3768,10 @@ namespace FourSlashInterface {
return this.state.getMarkerByName(name);
}
public markerName(m: FourSlash.Marker) {
return this.state.markerName(m);
}
public ranges(): FourSlash.Range[] {
return this.state.getRanges();
}
@ -3810,6 +3814,7 @@ namespace FourSlashInterface {
this.state.goToEachMarker(markers, typeof a === "function" ? a : b);
}
public rangeStart(range: FourSlash.Range) {
this.state.goToRangeStart(range);
}

View file

@ -2333,9 +2333,9 @@ declare module "fs" {
verifyRenamingFileInSubFolder(TestFSWithWatch.Tsc_WatchDirectory.NonRecursiveWatchDirectory);
});
it("uses non recursive dynamic polling when renaming file in subfolder", () => {
verifyRenamingFileInSubFolder(TestFSWithWatch.Tsc_WatchDirectory.DynamicPolling);
});
// it("uses non recursive dynamic polling when renaming file in subfolder", () => {
// verifyRenamingFileInSubFolder(TestFSWithWatch.Tsc_WatchDirectory.DynamicPolling);
// });
});
});
}

View file

@ -5354,13 +5354,13 @@ namespace ts.projectSystem {
});
// send outlining spans request (normal priority)
session.executeCommandSeq(<protocol.OutliningSpansRequest>{
session.executeCommandSeq(<protocol.OutliningSpansRequestFull>{
command: "outliningSpans",
arguments: { file: f1.path }
});
// ensure the outlining spans request can be canceled
verifyExecuteCommandSeqIsCancellable(<protocol.OutliningSpansRequest>{
verifyExecuteCommandSeqIsCancellable(<protocol.OutliningSpansRequestFull>{
command: "outliningSpans",
arguments: { file: f1.path }
});

View file

@ -827,13 +827,15 @@ interface MediaTrackCapabilities {
interface MediaTrackConstraintSet {
aspectRatio?: number | ConstrainDoubleRange;
channelCount?: number | ConstrainLongRange;
deviceId?: string | string[] | ConstrainDOMStringParameters;
displaySurface?: string | string[] | ConstrainDOMStringParameters;
echoCancelation?: boolean | ConstrainBooleanParameters;
echoCancellation?: boolean | ConstrainBooleanParameters;
facingMode?: string | string[] | ConstrainDOMStringParameters;
frameRate?: number | ConstrainDoubleRange;
groupId?: string | string[] | ConstrainDOMStringParameters;
height?: number | ConstrainLongRange;
latency?: number | ConstrainDoubleRange;
logicalSurface?: boolean | ConstrainBooleanParameters;
sampleRate?: number | ConstrainLongRange;
sampleSize?: number | ConstrainLongRange;
@ -3652,7 +3654,7 @@ interface Document extends Node, GlobalEventHandlers, ParentNode, DocumentEvent
/**
* Contains information about the current URL.
*/
readonly location: Location;
location: Location;
msCSSOMElementFloatMetrics: boolean;
msCapsLockWarningOff: boolean;
/**
@ -7092,7 +7094,7 @@ declare var HTMLOptionElement: {
new(): HTMLOptionElement;
};
interface HTMLOptionsCollection extends HTMLCollectionBase {
interface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {
length: number;
selectedIndex: number;
add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;
@ -9346,7 +9348,7 @@ interface NavigatorUserMedia {
interface Node extends EventTarget {
readonly baseURI: string | null;
readonly childNodes: NodeList;
readonly childNodes: NodeListOf<Node & ChildNode>;
readonly firstChild: Node | null;
readonly lastChild: Node | null;
readonly localName: string | null;
@ -9696,7 +9698,7 @@ interface Path2D extends CanvasPathMethods {
declare var Path2D: {
prototype: Path2D;
new(path?: Path2D): Path2D;
new(d?: Path2D | string): Path2D;
};
interface PaymentAddress {
@ -10337,19 +10339,19 @@ interface RTCPeerConnection extends EventTarget {
onsignalingstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;
readonly remoteDescription: RTCSessionDescription | null;
readonly signalingState: RTCSignalingState;
addIceCandidate(candidate: RTCIceCandidate, successCallback?: VoidFunction, failureCallback?: RTCPeerConnectionErrorCallback): Promise<void>;
addIceCandidate(candidate: RTCIceCandidateInit | RTCIceCandidate): Promise<void>;
addStream(stream: MediaStream): void;
close(): void;
createAnswer(successCallback?: RTCSessionDescriptionCallback, failureCallback?: RTCPeerConnectionErrorCallback): Promise<RTCSessionDescription>;
createOffer(successCallback?: RTCSessionDescriptionCallback, failureCallback?: RTCPeerConnectionErrorCallback, options?: RTCOfferOptions): Promise<RTCSessionDescription>;
createAnswer(options?: RTCOfferOptions): Promise<RTCSessionDescriptionInit>;
createOffer(options?: RTCOfferOptions): Promise<RTCSessionDescriptionInit>;
getConfiguration(): RTCConfiguration;
getLocalStreams(): MediaStream[];
getRemoteStreams(): MediaStream[];
getStats(selector: MediaStreamTrack | null, successCallback?: RTCStatsCallback, failureCallback?: RTCPeerConnectionErrorCallback): Promise<RTCStatsReport>;
getStreamById(streamId: string): MediaStream | null;
removeStream(stream: MediaStream): void;
setLocalDescription(description: RTCSessionDescription, successCallback?: VoidFunction, failureCallback?: RTCPeerConnectionErrorCallback): Promise<void>;
setRemoteDescription(description: RTCSessionDescription, successCallback?: VoidFunction, failureCallback?: RTCPeerConnectionErrorCallback): Promise<void>;
setLocalDescription(description: RTCSessionDescriptionInit): Promise<void>;
setRemoteDescription(description: RTCSessionDescriptionInit): Promise<void>;
addEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof RTCPeerConnectionEventMap>(type: K, listener: (this: RTCPeerConnection, ev: RTCPeerConnectionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@ -14907,7 +14909,7 @@ interface Window extends EventTarget, WindowTimers, WindowSessionStorage, Window
readonly innerWidth: number;
readonly isSecureContext: boolean;
readonly length: number;
readonly location: Location;
location: Location;
readonly locationbar: BarProp;
readonly menubar: BarProp;
readonly msContentScript: ExtensionScriptApis;

View file

@ -522,8 +522,16 @@ namespace ts.server {
}));
}
getOutliningSpans(_fileName: string): OutliningSpan[] {
return notImplemented();
getOutliningSpans(file: string): OutliningSpan[] {
const request = this.processRequest<protocol.OutliningSpansRequest>(CommandNames.GetOutliningSpans, { file });
const response = this.processResponse<protocol.OutliningSpansResponse>(request);
return response.body.map<OutliningSpan>(item => ({
textSpan: this.decodeSpan(item.textSpan, file),
hintSpan: this.decodeSpan(item.hintSpan, file),
bannerText: item.bannerText,
autoCollapse: item.autoCollapse
}));
}
getTodoComments(_fileName: string, _descriptors: TodoCommentDescriptor[]): TodoComment[] {

View file

@ -91,8 +91,9 @@ namespace ts.server.protocol {
EncodedSemanticClassificationsFull = "encodedSemanticClassifications-full",
/* @internal */
Cleanup = "cleanup",
GetOutliningSpans = "getOutliningSpans",
/* @internal */
OutliningSpans = "outliningSpans",
GetOutliningSpansFull = "outliningSpans", // Full command name is different for backward compatibility purposes
TodoComments = "todoComments",
Indentation = "indentation",
DocCommentTemplate = "docCommentTemplate",
@ -303,17 +304,48 @@ namespace ts.server.protocol {
/**
* Request to obtain outlining spans in file.
*/
/* @internal */
export interface OutliningSpansRequest extends FileRequest {
command: CommandTypes.OutliningSpans;
command: CommandTypes.GetOutliningSpans;
}
export interface OutliningSpan {
/** The span of the document to actually collapse. */
textSpan: TextSpan;
/** The span of the document to display when the user hovers over the collapsed span. */
hintSpan: TextSpan;
/** The text to display in the editor for the collapsed region. */
bannerText: string;
/**
* Whether or not this region should be automatically collapsed when
* the 'Collapse to Definitions' command is invoked.
*/
autoCollapse: boolean;
}
/**
* Response to OutliningSpansRequest request.
*/
export interface OutliningSpansResponse extends Response {
body?: OutliningSpan[];
}
/**
* Request to obtain outlining spans in file.
*/
/* @internal */
export interface OutliningSpansRequestFull extends FileRequest {
command: CommandTypes.GetOutliningSpansFull;
}
/**
* Response to OutliningSpansRequest request.
*/
/* @internal */
export interface OutliningSpansResponse extends Response {
body?: OutliningSpan[];
export interface OutliningSpansResponseFull extends Response {
body?: ts.OutliningSpan[];
}
/**

View file

@ -128,7 +128,7 @@ namespace ts.server {
const fs: {
openSync(path: string, options: string): number;
close(fd: number): void;
close(fd: number, callback: (err: NodeJS.ErrnoException) => void): void;
writeSync(fd: number, buffer: Buffer, offset: number, length: number, position?: number): number;
writeSync(fd: number, data: any, position?: number, enconding?: string): number;
statSync(path: string): Stats;
@ -167,7 +167,7 @@ namespace ts.server {
close() {
if (this.fd >= 0) {
fs.close(this.fd);
fs.close(this.fd, noop);
}
}

View file

@ -1087,9 +1087,21 @@ namespace ts.server {
return { file, project };
}
private getOutliningSpans(args: protocol.FileRequestArgs) {
private getOutliningSpans(args: protocol.FileRequestArgs, simplifiedResult: boolean): protocol.OutliningSpan[] | OutliningSpan[] {
const { file, languageService } = this.getFileAndLanguageServiceForSyntacticOperation(args);
return languageService.getOutliningSpans(file);
const spans = languageService.getOutliningSpans(file);
if (simplifiedResult) {
const scriptInfo = this.projectService.getScriptInfoForNormalizedPath(file);
return spans.map(s => ({
textSpan: this.toLocationTextSpan(s.textSpan, scriptInfo),
hintSpan: this.toLocationTextSpan(s.hintSpan, scriptInfo),
bannerText: s.bannerText,
autoCollapse: s.autoCollapse
}));
}
else {
return spans;
}
}
private getTodoComments(args: protocol.TodoCommentRequestArgs) {
@ -1893,8 +1905,11 @@ namespace ts.server {
[CommandNames.QuickinfoFull]: (request: protocol.QuickInfoRequest) => {
return this.requiredResponse(this.getQuickInfoWorker(request.arguments, /*simplifiedResult*/ false));
},
[CommandNames.OutliningSpans]: (request: protocol.FileRequest) => {
return this.requiredResponse(this.getOutliningSpans(request.arguments));
[CommandNames.GetOutliningSpans]: (request: protocol.FileRequest) => {
return this.requiredResponse(this.getOutliningSpans(request.arguments, /*simplifiedResult*/ true));
},
[CommandNames.GetOutliningSpansFull]: (request: protocol.FileRequest) => {
return this.requiredResponse(this.getOutliningSpans(request.arguments, /*simplifiedResult*/ false));
},
[CommandNames.TodoComments]: (request: protocol.TodoCommentRequest) => {
return this.requiredResponse(this.getTodoComments(request.arguments));

View file

@ -42,28 +42,22 @@ namespace ts.codefix {
function doChange(changes: textChanges.ChangeTracker, sourceFile: SourceFile, decl: DeclarationWithType): void {
if (isFunctionLikeDeclaration(decl) && (getJSDocReturnType(decl) || decl.parameters.some(p => !!getJSDocType(p)))) {
const typeParameters = getJSDocTypeParameterDeclarations(decl);
const returnType = getJSDocReturnType(decl);
const returnTypeNode = returnType && transformJSDocType(returnType);
if (isArrowFunction(decl) && !findChildOfKind(decl, SyntaxKind.OpenParenToken, sourceFile)) {
const params = decl.parameters.map(p => {
const paramType = getJSDocType(p);
return paramType && !p.type ? updateParameter(p, p.decorators, p.modifiers, p.dotDotDotToken, p.name, p.questionToken, transformJSDocType(paramType), p.initializer) : p;
});
changes.replaceNode(sourceFile, decl, updateArrowFunction(decl, decl.modifiers, decl.typeParameters || typeParameters, params, decl.type || returnTypeNode, decl.equalsGreaterThanToken, decl.body));
if (!decl.typeParameters) {
const typeParameters = getJSDocTypeParameterDeclarations(decl);
if (typeParameters) changes.insertTypeParameters(sourceFile, decl, typeParameters);
}
else {
if (typeParameters && !decl.typeParameters) {
changes.insertTypeParameters(sourceFile, decl, typeParameters);
const needParens = isArrowFunction(decl) && !findChildOfKind(decl, SyntaxKind.OpenParenToken, sourceFile);
if (needParens) changes.insertNodeBefore(sourceFile, first(decl.parameters), createToken(SyntaxKind.OpenParenToken));
for (const param of decl.parameters) {
if (!param.type) {
const paramType = getJSDocType(param);
if (paramType) changes.insertTypeAnnotation(sourceFile, param, transformJSDocType(paramType));
}
for (const param of decl.parameters) {
if (!param.type) {
const paramType = getJSDocType(param);
if (paramType) changes.insertTypeAnnotation(sourceFile, param, transformJSDocType(paramType));
}
}
if (returnTypeNode && !decl.type) changes.insertTypeAnnotation(sourceFile, decl, returnTypeNode);
}
if (needParens) changes.insertNodeAfter(sourceFile, last(decl.parameters), createToken(SyntaxKind.CloseParenToken));
if (!decl.type) {
const returnType = getJSDocReturnType(decl);
if (returnType) changes.insertTypeAnnotation(sourceFile, decl, transformJSDocType(returnType));
}
}
else {

View file

@ -994,6 +994,7 @@ namespace ts.Completions {
// Since this is qualified name check its a type node location
const isTypeLocation = insideJsDocTagTypeExpression || isPartOfTypeNode(node.parent);
const isRhsOfImportDeclaration = isInRightSideOfInternalImportEqualsDeclaration(node);
const allowTypeOrValue = isRhsOfImportDeclaration || (!isTypeLocation && isPossiblyTypeArgumentPosition(contextToken, sourceFile));
if (isEntityName(node)) {
let symbol = typeChecker.getSymbolAtLocation(node);
if (symbol) {
@ -1004,7 +1005,7 @@ namespace ts.Completions {
const exportedSymbols = Debug.assertEachDefined(typeChecker.getExportsOfModule(symbol), "getExportsOfModule() should all be defined");
const isValidValueAccess = (symbol: Symbol) => typeChecker.isValidPropertyAccess(<PropertyAccessExpression>(node.parent), symbol.name);
const isValidTypeAccess = (symbol: Symbol) => symbolCanBeReferencedAtTypeLocation(symbol);
const isValidAccess = isRhsOfImportDeclaration ?
const isValidAccess = allowTypeOrValue ?
// Any kind is allowed when dotting off namespace in internal import equals declaration
(symbol: Symbol) => isValidTypeAccess(symbol) || isValidValueAccess(symbol) :
isTypeLocation ? isValidTypeAccess : isValidValueAccess;
@ -1173,8 +1174,9 @@ namespace ts.Completions {
}
function filterGlobalCompletion(symbols: Symbol[]): void {
const isTypeCompletion = insideJsDocTagTypeExpression || !isContextTokenValueLocation(contextToken) && (isPartOfTypeNode(location) || isContextTokenTypeLocation(contextToken));
if (isTypeCompletion) keywordFilters = KeywordCompletionFilters.TypeKeywords;
const isTypeOnlyCompletion = insideJsDocTagTypeExpression || !isContextTokenValueLocation(contextToken) && (isPartOfTypeNode(location) || isContextTokenTypeLocation(contextToken));
const allowTypes = isTypeOnlyCompletion || !isContextTokenValueLocation(contextToken) && isPossiblyTypeArgumentPosition(contextToken, sourceFile);
if (isTypeOnlyCompletion) keywordFilters = KeywordCompletionFilters.TypeKeywords;
filterMutate(symbols, symbol => {
if (!isSourceFile(location)) {
@ -1190,9 +1192,12 @@ namespace ts.Completions {
return !!(symbol.flags & SymbolFlags.Namespace);
}
if (isTypeCompletion) {
if (allowTypes) {
// Its a type, but you can reach it by namespace.type as well
return symbolCanBeReferencedAtTypeLocation(symbol);
const symbolAllowedAsType = symbolCanBeReferencedAtTypeLocation(symbol);
if (symbolAllowedAsType || isTypeOnlyCompletion) {
return symbolAllowedAsType;
}
}
}
@ -1204,7 +1209,7 @@ namespace ts.Completions {
function isContextTokenValueLocation(contextToken: Node) {
return contextToken &&
contextToken.kind === SyntaxKind.TypeOfKeyword &&
contextToken.parent.kind === SyntaxKind.TypeQuery;
(contextToken.parent.kind === SyntaxKind.TypeQuery || isTypeOfExpression(contextToken.parent));
}
function isContextTokenTypeLocation(contextToken: Node): boolean {

View file

@ -2,24 +2,25 @@
namespace ts.SymbolDisplay {
// TODO(drosen): use contextual SemanticMeaning.
export function getSymbolKind(typeChecker: TypeChecker, symbol: Symbol, location: Node): ScriptElementKind {
const flags = getCombinedLocalAndExportSymbolFlags(symbol);
const result = getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(typeChecker, symbol, location);
if (result !== ScriptElementKind.unknown) {
return result;
}
const flags = getCombinedLocalAndExportSymbolFlags(symbol);
if (flags & SymbolFlags.Class) {
return getDeclarationOfKind(symbol, SyntaxKind.ClassExpression) ?
ScriptElementKind.localClassElement : ScriptElementKind.classElement;
ScriptElementKind.localClassElement : ScriptElementKind.classElement;
}
if (flags & SymbolFlags.Enum) return ScriptElementKind.enumElement;
if (flags & SymbolFlags.TypeAlias) return ScriptElementKind.typeElement;
if (flags & SymbolFlags.Interface) return ScriptElementKind.interfaceElement;
if (flags & SymbolFlags.TypeParameter) return ScriptElementKind.typeParameterElement;
const result = getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(typeChecker, symbol, location);
if (result === ScriptElementKind.unknown) {
if (flags & SymbolFlags.TypeParameter) return ScriptElementKind.typeParameterElement;
if (flags & SymbolFlags.EnumMember) return ScriptElementKind.enumMemberElement;
if (flags & SymbolFlags.Alias) return ScriptElementKind.alias;
if (flags & SymbolFlags.Module) return ScriptElementKind.moduleElement;
}
if (flags & SymbolFlags.TypeParameter) return ScriptElementKind.typeParameterElement;
if (flags & SymbolFlags.EnumMember) return ScriptElementKind.enumMemberElement;
if (flags & SymbolFlags.Alias) return ScriptElementKind.alias;
if (flags & SymbolFlags.Module) return ScriptElementKind.moduleElement;
return result;
}

View file

@ -352,14 +352,16 @@ namespace ts.textChanges {
/** Prefer this over replacing a node with another that has a type annotation, as it avoids reformatting the other parts of the node. */
public insertTypeAnnotation(sourceFile: SourceFile, node: TypeAnnotatable, type: TypeNode): void {
const end = (isFunctionLike(node)
? findChildOfKind(node, SyntaxKind.CloseParenToken, sourceFile)!
// If no `)`, is an arrow function `x => x`, so use the end of the first parameter
? findChildOfKind(node, SyntaxKind.CloseParenToken, sourceFile) || first(node.parameters)
: node.kind !== SyntaxKind.VariableDeclaration && node.questionToken ? node.questionToken : node.name).end;
this.insertNodeAt(sourceFile, end, type, { prefix: ": " });
}
public insertTypeParameters(sourceFile: SourceFile, node: SignatureDeclaration, typeParameters: ReadonlyArray<TypeParameterDeclaration>): void {
const lparen = findChildOfKind(node, SyntaxKind.OpenParenToken, sourceFile)!.pos;
this.insertNodesAt(sourceFile, lparen, typeParameters, { prefix: "<", suffix: ">" });
// If no `(`, is an arrow function `x => x`, so use the pos of the first parameter
const start = (findChildOfKind(node, SyntaxKind.OpenParenToken, sourceFile) || first(node.parameters)).getStart(sourceFile);
this.insertNodesAt(sourceFile, start, typeParameters, { prefix: "<", suffix: ">" });
}
private getOptionsForInsertNodeBefore(before: Node, doubleNewlines: boolean): ChangeNodeOptions {
@ -369,6 +371,9 @@ namespace ts.textChanges {
else if (isVariableDeclaration(before)) { // insert `x = 1, ` into `const x = 1, y = 2;
return { suffix: ", " };
}
else if (isParameter(before)) {
return {};
}
return Debug.failBadSyntaxKind(before); // We haven't handled this kind of node yet -- add it
}
@ -453,6 +458,9 @@ namespace ts.textChanges {
else if (isVariableDeclaration(node)) {
return { prefix: ", " };
}
else if (isParameter(node)) {
return {};
}
return Debug.failBadSyntaxKind(node); // We haven't handled this kind of node yet -- add it
}

View file

@ -890,6 +890,114 @@ namespace ts {
return isTemplateLiteralKind(token.kind) && position > token.getStart(sourceFile);
}
export function findPrecedingMatchingToken(token: Node, matchingTokenKind: SyntaxKind, sourceFile: SourceFile) {
const tokenKind = token.kind;
let remainingMatchingTokens = 0;
while (true) {
token = findPrecedingToken(token.getFullStart(), sourceFile);
if (!token) {
return undefined;
}
if (token.kind === matchingTokenKind) {
if (remainingMatchingTokens === 0) {
return token;
}
remainingMatchingTokens--;
}
else if (token.kind === tokenKind) {
remainingMatchingTokens++;
}
}
}
export function isPossiblyTypeArgumentPosition(token: Node, sourceFile: SourceFile) {
// This function determines if the node could be type argument position
// Since during editing, when type argument list is not complete,
// the tree could be of any shape depending on the tokens parsed before current node,
// scanning of the previous identifier followed by "<" before current node would give us better result
// Note that we also balance out the already provided type arguments, arrays, object literals while doing so
let remainingLessThanTokens = 0;
while (token) {
switch (token.kind) {
case SyntaxKind.LessThanToken:
// Found the beginning of the generic argument expression
token = findPrecedingToken(token.getFullStart(), sourceFile);
const tokenIsIdentifier = token && isIdentifier(token);
if (!remainingLessThanTokens || !tokenIsIdentifier) {
return tokenIsIdentifier;
}
remainingLessThanTokens--;
break;
case SyntaxKind.GreaterThanGreaterThanGreaterThanToken:
remainingLessThanTokens = + 3;
break;
case SyntaxKind.GreaterThanGreaterThanToken:
remainingLessThanTokens = + 2;
break;
case SyntaxKind.GreaterThanToken:
remainingLessThanTokens++;
break;
case SyntaxKind.CloseBraceToken:
// This can be object type, skip untill we find the matching open brace token
// Skip untill the matching open brace token
token = findPrecedingMatchingToken(token, SyntaxKind.OpenBraceToken, sourceFile);
if (!token) return false;
break;
case SyntaxKind.CloseParenToken:
// This can be object type, skip untill we find the matching open brace token
// Skip untill the matching open brace token
token = findPrecedingMatchingToken(token, SyntaxKind.OpenParenToken, sourceFile);
if (!token) return false;
break;
case SyntaxKind.CloseBracketToken:
// This can be object type, skip untill we find the matching open brace token
// Skip untill the matching open brace token
token = findPrecedingMatchingToken(token, SyntaxKind.OpenBracketToken, sourceFile);
if (!token) return false;
break;
// Valid tokens in a type name. Skip.
case SyntaxKind.CommaToken:
case SyntaxKind.EqualsGreaterThanToken:
case SyntaxKind.Identifier:
case SyntaxKind.StringLiteral:
case SyntaxKind.NumericLiteral:
case SyntaxKind.TrueKeyword:
case SyntaxKind.FalseKeyword:
case SyntaxKind.TypeOfKeyword:
case SyntaxKind.ExtendsKeyword:
case SyntaxKind.KeyOfKeyword:
case SyntaxKind.DotToken:
case SyntaxKind.BarToken:
case SyntaxKind.QuestionToken:
case SyntaxKind.ColonToken:
break;
default:
if (isTypeNode(token)) {
break;
}
// Invalid token in type
return false;
}
token = findPrecedingToken(token.getFullStart(), sourceFile);
}
return false;
}
/**
* Returns true if the cursor at position in sourceFile is within a comment.
*

View file

@ -645,7 +645,8 @@ declare namespace ts {
body?: Block | Expression;
}
type FunctionLikeDeclaration = FunctionDeclaration | MethodDeclaration | ConstructorDeclaration | GetAccessorDeclaration | SetAccessorDeclaration | FunctionExpression | ArrowFunction;
type FunctionLike = FunctionLikeDeclaration | FunctionTypeNode | ConstructorTypeNode | IndexSignatureDeclaration | MethodSignature | ConstructSignatureDeclaration | CallSignatureDeclaration | JSDocFunctionType;
/** @deprecated Use SignatureDeclaration */
type FunctionLike = SignatureDeclaration;
interface FunctionDeclaration extends FunctionLikeDeclarationBase, DeclarationStatement {
kind: SyntaxKind.FunctionDeclaration;
name?: Identifier;
@ -1812,7 +1813,7 @@ declare namespace ts {
*/
getResolvedSignature(node: CallLikeExpression, candidatesOutArray?: Signature[], argumentCount?: number): Signature;
getSignatureFromDeclaration(declaration: SignatureDeclaration): Signature | undefined;
isImplementationOfOverload(node: FunctionLike): boolean | undefined;
isImplementationOfOverload(node: SignatureDeclaration): boolean | undefined;
isUndefinedSymbol(symbol: Symbol): boolean;
isArgumentsSymbol(symbol: Symbol): boolean;
isUnknownSymbol(symbol: Symbol): boolean;
@ -3222,7 +3223,7 @@ declare namespace ts {
function isEntityName(node: Node): node is EntityName;
function isPropertyName(node: Node): node is PropertyName;
function isBindingName(node: Node): node is BindingName;
function isFunctionLike(node: Node): node is FunctionLike;
function isFunctionLike(node: Node): node is SignatureDeclaration;
function isClassElement(node: Node): node is ClassElement;
function isClassLike(node: Node): node is ClassLikeDeclaration;
function isAccessor(node: Node): node is AccessorDeclaration;
@ -5073,6 +5074,7 @@ declare namespace ts.server.protocol {
OpenExternalProject = "openExternalProject",
OpenExternalProjects = "openExternalProjects",
CloseExternalProject = "closeExternalProject",
GetOutliningSpans = "getOutliningSpans",
TodoComments = "todoComments",
Indentation = "indentation",
DocCommentTemplate = "docCommentTemplate",
@ -5231,6 +5233,31 @@ declare namespace ts.server.protocol {
*/
onlyMultiLine: boolean;
}
/**
* Request to obtain outlining spans in file.
*/
interface OutliningSpansRequest extends FileRequest {
command: CommandTypes.GetOutliningSpans;
}
interface OutliningSpan {
/** The span of the document to actually collapse. */
textSpan: TextSpan;
/** The span of the document to display when the user hovers over the collapsed span. */
hintSpan: TextSpan;
/** The text to display in the editor for the collapsed region. */
bannerText: string;
/**
* Whether or not this region should be automatically collapsed when
* the 'Collapse to Definitions' command is invoked.
*/
autoCollapse: boolean;
}
/**
* Response to OutliningSpansRequest request.
*/
interface OutliningSpansResponse extends Response {
body?: OutliningSpan[];
}
/**
* A request to get indentation for a location in file
*/
@ -7282,7 +7309,7 @@ declare namespace ts.server {
private getFileAndProject(args);
private getFileAndLanguageServiceForSyntacticOperation(args);
private getFileAndProjectWorker(uncheckedFileName, projectFileName);
private getOutliningSpans(args);
private getOutliningSpans(args, simplifiedResult);
private getTodoComments(args);
private getDocCommentTemplate(args);
private getSpanOfEnclosingComment(args);

View file

@ -645,7 +645,8 @@ declare namespace ts {
body?: Block | Expression;
}
type FunctionLikeDeclaration = FunctionDeclaration | MethodDeclaration | ConstructorDeclaration | GetAccessorDeclaration | SetAccessorDeclaration | FunctionExpression | ArrowFunction;
type FunctionLike = FunctionLikeDeclaration | FunctionTypeNode | ConstructorTypeNode | IndexSignatureDeclaration | MethodSignature | ConstructSignatureDeclaration | CallSignatureDeclaration | JSDocFunctionType;
/** @deprecated Use SignatureDeclaration */
type FunctionLike = SignatureDeclaration;
interface FunctionDeclaration extends FunctionLikeDeclarationBase, DeclarationStatement {
kind: SyntaxKind.FunctionDeclaration;
name?: Identifier;
@ -1812,7 +1813,7 @@ declare namespace ts {
*/
getResolvedSignature(node: CallLikeExpression, candidatesOutArray?: Signature[], argumentCount?: number): Signature;
getSignatureFromDeclaration(declaration: SignatureDeclaration): Signature | undefined;
isImplementationOfOverload(node: FunctionLike): boolean | undefined;
isImplementationOfOverload(node: SignatureDeclaration): boolean | undefined;
isUndefinedSymbol(symbol: Symbol): boolean;
isArgumentsSymbol(symbol: Symbol): boolean;
isUnknownSymbol(symbol: Symbol): boolean;
@ -3277,7 +3278,7 @@ declare namespace ts {
function isEntityName(node: Node): node is EntityName;
function isPropertyName(node: Node): node is PropertyName;
function isBindingName(node: Node): node is BindingName;
function isFunctionLike(node: Node): node is FunctionLike;
function isFunctionLike(node: Node): node is SignatureDeclaration;
function isClassElement(node: Node): node is ClassElement;
function isClassLike(node: Node): node is ClassLikeDeclaration;
function isAccessor(node: Node): node is AccessorDeclaration;

View file

@ -1,7 +1,7 @@
error TS5052: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declarations'.
error TS5052: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declaration'.
!!! error TS5052: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declarations'.
!!! error TS5052: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declaration'.
==== tests/cases/compiler/hello.ts (0 errors) ====
var hello = "yo!";

View file

@ -1,8 +1,8 @@
error TS5052: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declarations'.
error TS5052: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declaration'.
error TS5053: Option 'emitDeclarationOnly' cannot be specified with option 'noEmit'.
!!! error TS5052: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declarations'.
!!! error TS5052: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declaration'.
!!! error TS5053: Option 'emitDeclarationOnly' cannot be specified with option 'noEmit'.
==== tests/cases/compiler/hello.ts (0 errors) ====
var hello = "yo!";

View file

@ -1,9 +1,17 @@
tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck48.ts(1,9): error TS7025: Generator implicitly has type 'IterableIterator<any>' because it does not yield any values. Consider supplying a return type.
tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck48.ts(1,11): error TS7010: 'g', which lacks return-type annotation, implicitly has an 'any' return type.
tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck48.ts(5,11): error TS7010: 'h', which lacks return-type annotation, implicitly has an 'any' return type.
==== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck48.ts (1 errors) ====
==== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck48.ts (2 errors) ====
function* g() {
~
!!! error TS7025: Generator implicitly has type 'IterableIterator<any>' because it does not yield any values. Consider supplying a return type.
~
!!! error TS7010: 'g', which lacks return-type annotation, implicitly has an 'any' return type.
yield;
}
}
function* h() {
~
!!! error TS7010: 'h', which lacks return-type annotation, implicitly has an 'any' return type.
yield undefined;
}

View file

@ -1,9 +1,17 @@
//// [generatorTypeCheck48.ts]
function* g() {
yield;
}
}
function* h() {
yield undefined;
}
//// [generatorTypeCheck48.js]
function* g() {
yield;
}
function* h() {
yield undefined;
}

View file

@ -4,3 +4,11 @@ function* g() {
yield;
}
function* h() {
>h : Symbol(h, Decl(generatorTypeCheck48.ts, 2, 1))
yield undefined;
>undefined : Symbol(undefined)
}

View file

@ -5,3 +5,12 @@ function* g() {
yield;
>yield : any
}
function* h() {
>h : () => IterableIterator<any>
yield undefined;
>yield undefined : any
>undefined : undefined
}

View file

@ -0,0 +1,17 @@
/a.ts(1,20): error TS2307: Cannot find module 'something'.
/b.ts(3,6): error TS2345: Argument of type '""' is not assignable to parameter of type '"x"'.
==== /b.ts (1 errors) ====
import a = require('./a');
declare function f<T>(obj: T, key: keyof T): void;
f(a, "");
~~
!!! error TS2345: Argument of type '""' is not assignable to parameter of type '"x"'.
==== /a.ts (1 errors) ====
import x = require("something");
~~~~~~~~~~~
!!! error TS2307: Cannot find module 'something'.
export { x };

View file

@ -0,0 +1,22 @@
//// [tests/cases/compiler/literalTypeNameAssertionNotTriggered.ts] ////
//// [a.ts]
import x = require("something");
export { x };
//// [b.ts]
import a = require('./a');
declare function f<T>(obj: T, key: keyof T): void;
f(a, "");
//// [a.js]
"use strict";
exports.__esModule = true;
var x = require("something");
exports.x = x;
//// [b.js]
"use strict";
exports.__esModule = true;
var a = require("./a");
f(a, "");

View file

@ -0,0 +1,23 @@
=== /b.ts ===
import a = require('./a');
>a : Symbol(a, Decl(b.ts, 0, 0))
declare function f<T>(obj: T, key: keyof T): void;
>f : Symbol(f, Decl(b.ts, 0, 26))
>T : Symbol(T, Decl(b.ts, 1, 19))
>obj : Symbol(obj, Decl(b.ts, 1, 22))
>T : Symbol(T, Decl(b.ts, 1, 19))
>key : Symbol(key, Decl(b.ts, 1, 29))
>T : Symbol(T, Decl(b.ts, 1, 19))
f(a, "");
>f : Symbol(f, Decl(b.ts, 0, 26))
>a : Symbol(a, Decl(b.ts, 0, 0))
=== /a.ts ===
import x = require("something");
>x : Symbol(x, Decl(a.ts, 0, 0))
export { x };
>x : Symbol(x, Decl(a.ts, 1, 8))

View file

@ -0,0 +1,25 @@
=== /b.ts ===
import a = require('./a');
>a : typeof a
declare function f<T>(obj: T, key: keyof T): void;
>f : <T>(obj: T, key: keyof T) => void
>T : T
>obj : T
>T : T
>key : keyof T
>T : T
f(a, "");
>f(a, "") : any
>f : <T>(obj: T, key: keyof T) => void
>a : typeof a
>"" : ""
=== /a.ts ===
import x = require("something");
>x : any
export { x };
>x : any

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,301 @@
Exit Code: 1
Standard output:
node_modules/acorn/bin/_acorn.js(51,30): error TS2339: Property 'getToken' does not exist on type '{ options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | undefined;...'.
node_modules/acorn/bin/_acorn.js(59,59): error TS2345: Argument of type '2 | null' is not assignable to parameter of type 'string | number | undefined'.
Type 'null' is not assignable to type 'string | number | undefined'.
node_modules/acorn/bin/_acorn.js(63,23): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
node_modules/acorn/bin/run_test262.js(3,21): error TS2307: Cannot find module 'test262-parser-runner'.
node_modules/acorn/dist/acorn.es.js(36,1): error TS2322: Type 'null' is not assignable to type 'string'.
node_modules/acorn/dist/acorn.es.js(36,32): error TS2322: Type 'null' is not assignable to type 'string'.
node_modules/acorn/dist/acorn.es.js(522,65): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(523,75): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(540,43): error TS2339: Property 'startNode' does not exist on type '{ options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | undefined;...'.
node_modules/acorn/dist/acorn.es.js(541,8): error TS2339: Property 'nextToken' does not exist on type '{ options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | undefined;...'.
node_modules/acorn/dist/acorn.es.js(542,15): error TS2339: Property 'parseTopLevel' does not exist on type '{ options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | undefined;...'.
node_modules/acorn/dist/acorn.es.js(555,14): error TS2531: Object is possibly 'null'.
node_modules/acorn/dist/acorn.es.js(715,25): error TS2531: Object is possibly 'null'.
node_modules/acorn/dist/acorn.es.js(735,25): error TS2531: Object is possibly 'null'.
node_modules/acorn/dist/acorn.es.js(2642,9): error TS2322: Type 'null' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn.es.js(2743,7): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn.es.js(2743,22): error TS2339: Property 'loc' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn.es.js(2743,37): error TS2339: Property 'raisedAt' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn.es.js(2758,21): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/acorn/dist/acorn.es.js(2953,1): error TS2322: Type '() => void' is not assignable to type 'null | undefined'.
Type '() => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.es.js(2953,30): error TS2322: Type '() => void' is not assignable to type 'null | undefined'.
Type '() => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.es.js(2954,12): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2955,10): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2958,18): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2959,38): error TS2339: Property 'curContext' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2960,16): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2962,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2965,1): error TS2322: Type '(prevType: any) => void' is not assignable to type 'null | undefined'.
Type '(prevType: any) => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.es.js(2966,8): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2966,26): error TS2339: Property 'braceIsBlock' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2967,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2970,1): error TS2322: Type '() => void' is not assignable to type 'null | undefined'.
Type '() => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.es.js(2971,8): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2972,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2975,1): error TS2322: Type '(prevType: any) => void' is not assignable to type 'null | undefined'.
Type '(prevType: any) => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.es.js(2977,8): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2978,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2981,1): error TS2322: Type '() => void' is not assignable to type 'null | undefined'.
Type '() => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.es.js(2985,1): error TS2322: Type '(prevType: any) => void' is not assignable to type 'null | undefined'.
Type '(prevType: any) => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.es.js(2985,33): error TS2322: Type '(prevType: any) => void' is not assignable to type 'null | undefined'.
Type '(prevType: any) => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.es.js(2987,73): error TS2339: Property 'curContext' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2988,12): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2990,12): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2991,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2994,1): error TS2322: Type '() => void' is not assignable to type 'null | undefined'.
Type '() => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.es.js(2995,12): error TS2339: Property 'curContext' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2996,12): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2998,12): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(2999,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(3002,1): error TS2322: Type '(prevType: any) => void' is not assignable to type 'null | undefined'.
Type '(prevType: any) => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.es.js(3004,22): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(3005,14): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(3006,14): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(3008,14): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(3010,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(3013,1): error TS2322: Type '(prevType: any) => void' is not assignable to type 'null | undefined'.
Type '(prevType: any) => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.es.js(3015,12): error TS2339: Property 'options' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(3016,14): error TS2339: Property 'value' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(3016,37): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(3017,14): error TS2339: Property 'value' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(3017,39): error TS2339: Property 'inGeneratorContext' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(3020,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.es.js(3522,11): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(3526,11): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(3530,22): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(3535,11): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(3539,11): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(3584,23): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(3585,16): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(3586,9): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(3589,9): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(3609,58): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(4950,23): error TS2322: Type 'number' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn.es.js(4951,28): error TS2322: Type 'number' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn.es.js(4952,42): error TS2322: Type 'number' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn.es.js(4953,12): error TS2322: Type 'number' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn.es.js(4954,9): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(4956,29): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.es.js(5282,5): error TS2339: Property 'nextToken' does not exist on type '{ options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | undefined;...'.
node_modules/acorn/dist/acorn.es.js(5283,12): error TS2339: Property 'parseExpression' does not exist on type '{ options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | undefined;...'.
node_modules/acorn/dist/acorn.js(3,9): error TS2304: Cannot find name 'define'.
node_modules/acorn/dist/acorn.js(3,34): error TS2304: Cannot find name 'define'.
node_modules/acorn/dist/acorn.js(3,47): error TS2304: Cannot find name 'define'.
node_modules/acorn/dist/acorn.js(42,1): error TS2322: Type 'null' is not assignable to type 'string'.
node_modules/acorn/dist/acorn.js(42,32): error TS2322: Type 'null' is not assignable to type 'string'.
node_modules/acorn/dist/acorn.js(528,65): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(529,75): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(546,43): error TS2339: Property 'startNode' does not exist on type '{ options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | undefined;...'.
node_modules/acorn/dist/acorn.js(547,8): error TS2339: Property 'nextToken' does not exist on type '{ options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | undefined;...'.
node_modules/acorn/dist/acorn.js(548,15): error TS2339: Property 'parseTopLevel' does not exist on type '{ options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | undefined;...'.
node_modules/acorn/dist/acorn.js(561,14): error TS2531: Object is possibly 'null'.
node_modules/acorn/dist/acorn.js(721,25): error TS2531: Object is possibly 'null'.
node_modules/acorn/dist/acorn.js(741,25): error TS2531: Object is possibly 'null'.
node_modules/acorn/dist/acorn.js(2648,9): error TS2322: Type 'null' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn.js(2749,7): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn.js(2749,22): error TS2339: Property 'loc' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn.js(2749,37): error TS2339: Property 'raisedAt' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn.js(2764,21): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/acorn/dist/acorn.js(2959,1): error TS2322: Type '() => void' is not assignable to type 'null | undefined'.
Type '() => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.js(2959,30): error TS2322: Type '() => void' is not assignable to type 'null | undefined'.
Type '() => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.js(2960,12): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2961,10): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2964,18): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2965,38): error TS2339: Property 'curContext' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2966,16): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2968,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2971,1): error TS2322: Type '(prevType: any) => void' is not assignable to type 'null | undefined'.
Type '(prevType: any) => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.js(2972,8): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2972,26): error TS2339: Property 'braceIsBlock' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2973,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2976,1): error TS2322: Type '() => void' is not assignable to type 'null | undefined'.
Type '() => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.js(2977,8): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2978,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2981,1): error TS2322: Type '(prevType: any) => void' is not assignable to type 'null | undefined'.
Type '(prevType: any) => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.js(2983,8): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2984,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2987,1): error TS2322: Type '() => void' is not assignable to type 'null | undefined'.
Type '() => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.js(2991,1): error TS2322: Type '(prevType: any) => void' is not assignable to type 'null | undefined'.
Type '(prevType: any) => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.js(2991,33): error TS2322: Type '(prevType: any) => void' is not assignable to type 'null | undefined'.
Type '(prevType: any) => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.js(2993,73): error TS2339: Property 'curContext' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2994,12): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2996,12): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(2997,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3000,1): error TS2322: Type '() => void' is not assignable to type 'null | undefined'.
Type '() => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.js(3001,12): error TS2339: Property 'curContext' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3002,12): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3004,12): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3005,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3008,1): error TS2322: Type '(prevType: any) => void' is not assignable to type 'null | undefined'.
Type '(prevType: any) => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.js(3010,22): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3011,14): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3012,14): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3014,14): error TS2339: Property 'context' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3016,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3019,1): error TS2322: Type '(prevType: any) => void' is not assignable to type 'null | undefined'.
Type '(prevType: any) => void' is not assignable to type 'null'.
node_modules/acorn/dist/acorn.js(3021,12): error TS2339: Property 'options' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3022,14): error TS2339: Property 'value' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3022,37): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3023,14): error TS2339: Property 'value' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3023,39): error TS2339: Property 'inGeneratorContext' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3026,8): error TS2339: Property 'exprAllowed' does not exist on type '{ label: any; keyword: any; beforeExpr: boolean | undefined; startsExpr: boolean | undefined; isL...'.
node_modules/acorn/dist/acorn.js(3528,11): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(3532,11): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(3536,22): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(3541,11): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(3545,11): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(3590,23): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(3591,16): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(3592,9): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(3595,9): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(3615,58): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(4956,23): error TS2322: Type 'number' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn.js(4957,28): error TS2322: Type 'number' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn.js(4958,42): error TS2322: Type 'number' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn.js(4959,12): error TS2322: Type 'number' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn.js(4960,9): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(4962,29): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn.js(5288,5): error TS2339: Property 'nextToken' does not exist on type '{ options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | undefined;...'.
node_modules/acorn/dist/acorn.js(5289,12): error TS2339: Property 'parseExpression' does not exist on type '{ options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | undefined;...'.
node_modules/acorn/dist/acorn_loose.es.js(33,30): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(33,71): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(37,36): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(37,52): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(37,74): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(50,14): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(52,22): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(54,23): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(63,7): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(63,23): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(65,7): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(72,9): error TS2339: Property 'name' does not exist on type '{ type: string | undefined; start: any; end: number | undefined; loc: { start: any; end: any; sou...'.
node_modules/acorn/dist/acorn_loose.es.js(78,9): error TS2339: Property 'value' does not exist on type '{ type: string | undefined; start: any; end: number | undefined; loc: { start: any; end: any; sou...'.
node_modules/acorn/dist/acorn_loose.es.js(78,23): error TS2339: Property 'raw' does not exist on type '{ type: string | undefined; start: any; end: number | undefined; loc: { start: any; end: any; sou...'.
node_modules/acorn/dist/acorn_loose.es.js(83,7): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(84,10): error TS2339: Property 'next' does not exist on type '{ toks: { options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | un...'.
node_modules/acorn/dist/acorn_loose.es.js(92,10): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(92,45): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(96,10): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(100,10): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(100,44): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(101,37): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(101,52): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(113,16): error TS2339: Property 'lookAhead' does not exist on type '{ toks: { options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | un...'.
node_modules/acorn/dist/acorn_loose.es.js(114,44): error TS2339: Property 'next' does not exist on type '{ toks: { options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | un...'.
node_modules/acorn/dist/acorn_loose.es.js(121,3): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(121,21): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'never'.
Type 'undefined' is not assignable to type 'never'.
node_modules/acorn/dist/acorn_loose.es.js(125,20): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(145,7): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(145,37): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(146,39): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(154,16): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(154,41): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(176,8): error TS2339: Property 'next' does not exist on type '{ toks: { options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | un...'.
node_modules/acorn/dist/acorn_loose.es.js(177,15): error TS2339: Property 'parseTopLevel' does not exist on type '{ toks: { options: any; sourceFile: any; keywords: RegExp | undefined; reservedWords: RegExp | un...'.
node_modules/acorn/dist/acorn_loose.es.js(221,36): error TS2339: Property 'raisedAt' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.es.js(223,32): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.es.js(225,11): error TS2322: Type '{ start: any; end: any; type: { label: any; keyword: any; beforeExpr: boolean | undefined; starts...' is not assignable to type 'boolean'.
node_modules/acorn/dist/acorn_loose.es.js(225,31): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.es.js(225,97): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.es.js(227,41): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.es.js(229,11): error TS2322: Type '{ start: any; end: any; type: { label: any; keyword: any; beforeExpr: boolean | undefined; starts...' is not assignable to type 'boolean'.
node_modules/acorn/dist/acorn_loose.es.js(229,31): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.es.js(231,11): error TS2322: Type '{ start: any; end: any; type: { label: any; keyword: any; beforeExpr: boolean | undefined; starts...' is not assignable to type 'boolean'.
node_modules/acorn/dist/acorn_loose.es.js(232,22): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.es.js(235,41): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.es.js(256,31): error TS2322: Type '{ start: any; end: any; type: { label: any; keyword: any; beforeExpr: boolean | undefined; starts...' is not assignable to type 'boolean'.
node_modules/acorn/dist/acorn_loose.es.js(259,21): error TS2339: Property 'loc' does not exist on type 'true'.
node_modules/acorn/dist/acorn_loose.es.js(261,47): error TS2339: Property 'start' does not exist on type 'true'.
node_modules/acorn/dist/acorn_loose.es.js(262,47): error TS2339: Property 'end' does not exist on type 'true'.
node_modules/acorn/dist/acorn_loose.es.js(598,7): error TS2322: Type 'true' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(602,7): error TS2322: Type 'false' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(1159,7): error TS2322: Type 'true' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn_loose.es.js(1163,7): error TS2322: Type 'false' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn_loose.js(3,9): error TS2304: Cannot find name 'define'.
node_modules/acorn/dist/acorn_loose.js(3,34): error TS2304: Cannot find name 'define'.
node_modules/acorn/dist/acorn_loose.js(3,47): error TS2304: Cannot find name 'define'.
node_modules/acorn/dist/acorn_loose.js(37,38): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(37,79): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(41,36): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(41,52): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(41,74): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(54,14): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(56,22): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(58,23): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(87,7): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(88,10): error TS2339: Property 'next' does not exist on type '{ toks: any; options: any; input: any; tok: { [x: string]: any; type: any; start: number; end: nu...'.
node_modules/acorn/dist/acorn_loose.js(96,10): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(96,53): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(100,10): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(104,10): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(104,52): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(105,45): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(105,60): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(117,16): error TS2339: Property 'lookAhead' does not exist on type '{ toks: any; options: any; input: any; tok: { [x: string]: any; type: any; start: number; end: nu...'.
node_modules/acorn/dist/acorn_loose.js(118,44): error TS2339: Property 'next' does not exist on type '{ toks: any; options: any; input: any; tok: { [x: string]: any; type: any; start: number; end: nu...'.
node_modules/acorn/dist/acorn_loose.js(125,3): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(125,21): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'never'.
Type 'undefined' is not assignable to type 'never'.
node_modules/acorn/dist/acorn_loose.js(129,20): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(149,7): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(149,37): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(150,39): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(158,16): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(158,41): error TS2532: Object is possibly 'undefined'.
node_modules/acorn/dist/acorn_loose.js(180,8): error TS2339: Property 'next' does not exist on type '{ toks: any; options: any; input: any; tok: { [x: string]: any; type: any; start: number; end: nu...'.
node_modules/acorn/dist/acorn_loose.js(181,15): error TS2339: Property 'parseTopLevel' does not exist on type '{ toks: any; options: any; input: any; tok: { [x: string]: any; type: any; start: number; end: nu...'.
node_modules/acorn/dist/acorn_loose.js(225,36): error TS2339: Property 'raisedAt' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.js(227,32): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.js(229,11): error TS2322: Type '{ start: any; end: any; type: any; value: any; }' is not assignable to type 'boolean'.
node_modules/acorn/dist/acorn_loose.js(229,31): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.js(229,105): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.js(231,41): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.js(233,11): error TS2322: Type '{ start: any; end: any; type: any; value: any; }' is not assignable to type 'boolean'.
node_modules/acorn/dist/acorn_loose.js(233,31): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.js(235,11): error TS2322: Type '{ start: any; end: any; type: any; value: any; }' is not assignable to type 'boolean'.
node_modules/acorn/dist/acorn_loose.js(236,22): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.js(239,41): error TS2339: Property 'pos' does not exist on type 'SyntaxError'.
node_modules/acorn/dist/acorn_loose.js(260,31): error TS2322: Type '{ start: any; end: any; type: any; value: string; }' is not assignable to type 'boolean'.
node_modules/acorn/dist/acorn_loose.js(263,21): error TS2339: Property 'loc' does not exist on type 'true'.
node_modules/acorn/dist/acorn_loose.js(265,55): error TS2339: Property 'start' does not exist on type 'true'.
node_modules/acorn/dist/acorn_loose.js(266,55): error TS2339: Property 'end' does not exist on type 'true'.
node_modules/acorn/dist/acorn_loose.js(602,7): error TS2322: Type 'true' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn_loose.js(606,7): error TS2322: Type 'false' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn_loose.js(1163,7): error TS2322: Type 'true' is not assignable to type 'undefined'.
node_modules/acorn/dist/acorn_loose.js(1167,7): error TS2322: Type 'false' is not assignable to type 'undefined'.
node_modules/acorn/dist/walk.es.js(154,41): error TS2339: Property 'node' does not exist on type 'never'.
node_modules/acorn/dist/walk.js(3,9): error TS2304: Cannot find name 'define'.
node_modules/acorn/dist/walk.js(3,34): error TS2304: Cannot find name 'define'.
node_modules/acorn/dist/walk.js(3,47): error TS2304: Cannot find name 'define'.
node_modules/acorn/dist/walk.js(160,41): error TS2339: Property 'node' does not exist on type 'never'.
Standard error:

View file

@ -0,0 +1,213 @@
Exit Code: 1
Standard output:
node_modules/adonis-framework/lib/util.js(18,14): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/adonis-framework/node_modules/adonis-framework/lib/util"' because it is not a variable.
node_modules/adonis-framework/lib/util.js(24,13): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/providers/ConfigProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/providers/EncryptionProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/providers/EnvProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/providers/EventProvider.js(12,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/providers/HashProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/providers/HelpersProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/providers/MiddlewareProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/providers/RequestProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/providers/ResponseProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/providers/RouteProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/providers/ServerProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/providers/SessionProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/providers/StaticProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/providers/ViewProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/src/Config/index.js(37,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Config/index.js(39,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Config/index.js(58,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Encryption/index.js(53,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Encryption/index.js(77,50): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
node_modules/adonis-framework/src/Encryption/index.js(85,23): error TS8024: JSDoc '@param' tag has name 'value', but there is no parameter with that name.
node_modules/adonis-framework/src/Encryption/index.js(87,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Encryption/index.js(101,62): error TS2345: Argument of type 'string' is not assignable to parameter of type 'Utf8AsciiBinaryEncoding'.
node_modules/adonis-framework/src/Encryption/index.js(114,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Encryption/index.js(119,18): error TS2554: Expected 2 arguments, but got 1.
node_modules/adonis-framework/src/Encryption/index.js(183,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Encryption/index.js(197,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Encryption/index.js(209,14): error TS8024: JSDoc '@param' tag has name 'object', but there is no parameter with that name.
node_modules/adonis-framework/src/Encryption/index.js(216,83): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
node_modules/adonis-framework/src/Encryption/index.js(217,49): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
node_modules/adonis-framework/src/Encryption/index.js(223,15): error TS2304: Cannot find name 'Integer'.
node_modules/adonis-framework/src/Env/index.js(54,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Env/index.js(56,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Env/index.js(80,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Event/index.js(13,21): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/src/Event/index.js(128,5): error TS2322: Type '() => {}[]' is not assignable to type 'any[]'.
Property 'push' is missing in type '() => {}[]'.
node_modules/adonis-framework/src/Event/index.js(153,25): error TS2339: Property 'wildcard' does not exist on type 'EventEmitter2'.
node_modules/adonis-framework/src/Event/index.js(188,17): error TS2304: Cannot find name 'Spread'.
node_modules/adonis-framework/src/Event/index.js(188,25): error TS8024: JSDoc '@param' tag has name 'data', but there is no parameter with that name.
node_modules/adonis-framework/src/Event/index.js(207,24): error TS2304: Cannot find name 'Sring'.
node_modules/adonis-framework/src/Event/index.js(256,52): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
Type 'Function' provides no match for the signature '(...values: any[]): void'.
node_modules/adonis-framework/src/Event/index.js(264,28): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
node_modules/adonis-framework/src/Event/index.js(294,30): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
node_modules/adonis-framework/src/Exceptions/index.js(13,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Exceptions/index.js(27,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/Exceptions/index.js(40,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/Exceptions/index.js(52,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/Exceptions/index.js(63,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/Exceptions/index.js(75,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/Exceptions/index.js(87,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/Exceptions/index.js(99,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/Exceptions/index.js(112,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/Exceptions/index.js(125,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/Exceptions/index.js(138,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/Exceptions/index.js(151,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/Exceptions/index.js(164,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Exceptions/index.js(178,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/Exceptions/index.js(191,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/Exceptions/index.js(205,12): error TS2554: Expected 0 arguments, but got 3.
node_modules/adonis-framework/src/File/index.js(175,16): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/adonis-framework/src/File/index.js(273,5): error TS2322: Type 'boolean | ""' is not assignable to type 'boolean'.
Type '""' is not assignable to type 'boolean'.
node_modules/adonis-framework/src/Hash/index.js(19,12): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/adonis-framework/node_modules/adonis-framework/src/Hash/index"' because it is not a variable.
node_modules/adonis-framework/src/Hash/index.js(38,14): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/adonis-framework/src/Hash/index.js(63,14): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/adonis-framework/src/Helpers/index.js(49,15): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/adonis-framework/node_modules/adonis-framework/src/Helpers/index"' because it is not a variable.
node_modules/adonis-framework/src/Helpers/index.js(105,3): error TS2322: Type 'null' is not assignable to type 'string'.
node_modules/adonis-framework/src/Helpers/index.js(106,3): error TS2322: Type 'null' is not assignable to type 'string'.
node_modules/adonis-framework/src/Helpers/index.js(207,14): error TS2339: Property 'startsWith' does not exist on type 'string'.
node_modules/adonis-framework/src/Helpers/index.js(330,23): error TS2532: Object is possibly 'undefined'.
node_modules/adonis-framework/src/Helpers/index.js(331,22): error TS2339: Property 'endsWith' does not exist on type 'string'.
node_modules/adonis-framework/src/Middleware/index.js(13,21): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/src/Middleware/index.js(57,18): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/adonis-framework/node_modules/adonis-framework/src/Middleware/index"' because it is not a variable.
node_modules/adonis-framework/src/Middleware/index.js(230,20): error TS8024: JSDoc '@param' tag has name 'Middleware', but there is no parameter with that name.
node_modules/adonis-framework/src/Request/index.js(64,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(66,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(95,14): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(95,21): error TS8024: JSDoc '@param' tag has name 'keys', but there is no parameter with that name.
node_modules/adonis-framework/src/Request/index.js(112,14): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(112,21): error TS8024: JSDoc '@param' tag has name 'keys', but there is no parameter with that name.
node_modules/adonis-framework/src/Request/index.js(131,14): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(131,21): error TS8024: JSDoc '@param' tag has name 'keys', but there is no parameter with that name.
node_modules/adonis-framework/src/Request/index.js(188,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(190,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(415,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(417,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(466,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(468,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(480,14): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(482,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Request/index.js(499,17): error TS2551: Property '_params' does not exist on type 'Request'. Did you mean 'param'?
node_modules/adonis-framework/src/Request/index.js(523,15): error TS2304: Cannot find name 'Objecr'.
node_modules/adonis-framework/src/Request/index.js(572,23): error TS8024: JSDoc '@param' tag has name 'pattern', but there is no parameter with that name.
node_modules/adonis-framework/src/Request/index.js(600,12): error TS2554: Expected 2 arguments, but got 1.
node_modules/adonis-framework/src/Request/index.js(600,35): error TS2554: Expected 2 arguments, but got 1.
node_modules/adonis-framework/src/Request/index.js(663,23): error TS8024: JSDoc '@param' tag has name 'encodings', but there is no parameter with that name.
node_modules/adonis-framework/src/Response/index.js(44,7): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Response/index.js(56,7): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Response/index.js(68,7): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Response/index.js(76,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Response/index.js(95,16): error TS2304: Cannot find name 'Html'.
node_modules/adonis-framework/src/Response/index.js(172,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Response/index.js(299,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Response/index.js(323,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Route/domains.js(14,15): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/adonis-framework/node_modules/adonis-framework/src/Route/domains"' because it is not a variable.
node_modules/adonis-framework/src/Route/helpers.js(15,20): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/adonis-framework/node_modules/adonis-framework/src/Route/helpers"' because it is not a variable.
node_modules/adonis-framework/src/Route/helpers.js(22,13): error TS2304: Cannot find name 'Any'.
node_modules/adonis-framework/src/Route/helpers.js(28,17): error TS2339: Property 'startsWith' does not exist on type 'string'.
node_modules/adonis-framework/src/Route/helpers.js(34,3): error TS2322: Type 'string | string[]' is not assignable to type 'string'.
Type 'string[]' is not assignable to type 'string'.
node_modules/adonis-framework/src/Route/helpers.js(42,13): error TS2304: Cannot find name 'Regex'.
node_modules/adonis-framework/src/Route/helpers.js(54,21): error TS8024: JSDoc '@param' tag has name 'url', but there is no parameter with that name.
node_modules/adonis-framework/src/Route/helpers.js(131,21): error TS8024: JSDoc '@param' tag has name 'format', but there is no parameter with that name.
node_modules/adonis-framework/src/Route/helpers.js(158,19): error TS2339: Property 'startsWith' does not exist on type 'string'.
node_modules/adonis-framework/src/Route/index.js(30,5): error TS2322: Type 'null' is not assignable to type 'string'.
node_modules/adonis-framework/src/Route/index.js(36,13): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/adonis-framework/node_modules/adonis-framework/src/Route/index"' because it is not a variable.
node_modules/adonis-framework/src/Route/index.js(58,3): error TS2322: Type 'null' is not assignable to type 'string'.
node_modules/adonis-framework/src/Route/index.js(321,13): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Route/index.js(321,20): error TS8024: JSDoc '@param' tag has name 'keys', but there is no parameter with that name.
node_modules/adonis-framework/src/Route/index.js(354,20): error TS2694: Namespace 'Route' has no exported member 'Group'.
node_modules/adonis-framework/src/Route/index.js(368,3): error TS2322: Type 'null' is not assignable to type 'string'.
node_modules/adonis-framework/src/Route/index.js(396,10): error TS2554: Expected 2 arguments, but got 3.
node_modules/adonis-framework/src/Route/index.js(407,20): error TS2694: Namespace 'Route' has no exported member 'resources'.
node_modules/adonis-framework/src/Route/resource.js(92,25): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string'.
node_modules/adonis-framework/src/Route/resource.js(93,25): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string'.
node_modules/adonis-framework/src/Route/resource.js(95,25): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string'.
node_modules/adonis-framework/src/Route/resource.js(96,25): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string'.
node_modules/adonis-framework/src/Route/resource.js(97,25): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string'.
node_modules/adonis-framework/src/Route/resource.js(172,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Route/resource.js(172,22): error TS8024: JSDoc '@param' tag has name 'methods', but there is no parameter with that name.
node_modules/adonis-framework/src/Route/resource.js(198,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Route/resource.js(198,22): error TS8024: JSDoc '@param' tag has name 'methods', but there is no parameter with that name.
node_modules/adonis-framework/src/Route/resource.js(233,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Route/resource.js(261,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Route/resource.js(296,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Server/helpers.js(9,15): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/adonis-framework/node_modules/adonis-framework/src/Server/helpers"' because it is not a variable.
node_modules/adonis-framework/src/Server/helpers.js(17,29): error TS8024: JSDoc '@param' tag has name 'appNamespace', but there is no parameter with that name.
node_modules/adonis-framework/src/Server/index.js(17,21): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/src/Server/index.js(54,21): error TS2554: Expected 4 arguments, but got 3.
node_modules/adonis-framework/src/Server/index.js(137,25): error TS8024: JSDoc '@param' tag has name 'handlers', but there is no parameter with that name.
node_modules/adonis-framework/src/Server/index.js(252,15): error TS2304: Cannot find name 'instance'.
node_modules/adonis-framework/src/Server/index.js(252,24): error TS1005: '}' expected.
node_modules/adonis-framework/src/Session/CookieManager.js(45,14): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Session/CookieManager.js(60,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Session/CookieManager.js(72,15): error TS2304: Cannot find name 'Stirng'.
node_modules/adonis-framework/src/Session/Drivers/Cookie/index.js(77,15): error TS2322: Type 'IterableIterator<any>' is not assignable to type 'boolean'.
node_modules/adonis-framework/src/Session/Drivers/Cookie/index.js(88,15): error TS2322: Type 'IterableIterator<any>' is not assignable to type 'boolean'.
node_modules/adonis-framework/src/Session/Drivers/Cookie/index.js(118,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Session/Drivers/File/index.js(25,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Session/Drivers/File/index.js(79,15): error TS2505: A generator cannot have a 'void' type annotation.
node_modules/adonis-framework/src/Session/Drivers/Redis/index.js(23,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Session/Drivers/Redis/index.js(59,15): error TS2322: Type 'IterableIterator<any>' is not assignable to type 'boolean'.
node_modules/adonis-framework/src/Session/Drivers/Redis/index.js(72,15): error TS2322: Type 'IterableIterator<any>' is not assignable to type 'boolean'.
node_modules/adonis-framework/src/Session/SessionManager.js(13,21): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/src/Session/SessionManager.js(69,22): error TS2339: Property 'drivers' does not exist on type 'Function'.
node_modules/adonis-framework/src/Session/SessionManager.js(69,49): error TS2339: Property 'drivers' does not exist on type 'Function'.
node_modules/adonis-framework/src/Session/SessionManager.js(71,76): error TS2339: Property 'drivers' does not exist on type 'Function'.
node_modules/adonis-framework/src/Session/Store.js(21,15): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/adonis-framework/node_modules/adonis-framework/src/Session/Store"' because it is not a variable.
node_modules/adonis-framework/src/Session/Store.js(28,13): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Session/Store.js(80,13): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Session/index.js(11,2): error TS1003: Identifier expected.
node_modules/adonis-framework/src/Session/index.js(11,11): error TS2304: Cannot find name 'Class'.
node_modules/adonis-framework/src/Session/index.js(46,15): error TS2304: Cannot find name 'SessionDriver'.
node_modules/adonis-framework/src/Session/index.js(48,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Session/index.js(58,15): error TS2304: Cannot find name 'SessionDriver'.
node_modules/adonis-framework/src/Session/index.js(60,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Session/index.js(69,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Session/index.js(79,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
node_modules/adonis-framework/src/Session/index.js(104,61): error TS2339: Property 'config' does not exist on type 'Function'.
node_modules/adonis-framework/src/Session/index.js(105,47): error TS2339: Property 'config' does not exist on type 'Function'.
node_modules/adonis-framework/src/Session/index.js(106,45): error TS2339: Property 'config' does not exist on type 'Function'.
node_modules/adonis-framework/src/Session/index.js(107,44): error TS2339: Property 'driver' does not exist on type 'Function'.
node_modules/adonis-framework/src/Session/index.js(107,92): error TS2339: Property 'driver' does not exist on type 'Function'.
node_modules/adonis-framework/src/Session/index.js(107,126): error TS2339: Property 'driver' does not exist on type 'Function'.
node_modules/adonis-framework/src/Session/index.js(123,23): error TS2532: Object is possibly 'undefined'.
node_modules/adonis-framework/src/Session/index.js(137,5): error TS2532: Object is possibly 'undefined'.
node_modules/adonis-framework/src/Session/index.js(168,15): error TS2322: Type 'IterableIterator<any>' is not assignable to type 'boolean'.
node_modules/adonis-framework/src/Session/index.js(199,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Session/index.js(201,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Session/index.js(204,15): error TS2322: Type 'IterableIterator<any>' is not assignable to type 'boolean'.
node_modules/adonis-framework/src/Session/index.js(234,15): error TS2322: Type 'IterableIterator<any>' is not assignable to type 'boolean'.
node_modules/adonis-framework/src/Session/index.js(247,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Session/index.js(249,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Session/index.js(267,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Session/index.js(287,15): error TS2322: Type 'IterableIterator<any>' is not assignable to type 'boolean'.
node_modules/adonis-framework/src/Session/index.js(293,12): error TS2532: Object is possibly 'undefined'.
node_modules/adonis-framework/src/Static/index.js(42,16): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/adonis-framework/src/View/Form/index.js(115,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/View/Form/index.js(147,63): error TS2345: Argument of type 'string | any[]' is not assignable to parameter of type 'any[]'.
Type 'string' is not assignable to type 'any[]'.
node_modules/adonis-framework/src/View/Form/index.js(151,58): error TS2345: Argument of type 'string | any[]' is not assignable to parameter of type 'any[]'.
Type 'string' is not assignable to type 'any[]'.
node_modules/adonis-framework/src/View/Form/index.js(415,37): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string'.
node_modules/adonis-framework/src/View/Form/index.js(578,20): error TS2554: Expected 2 arguments, but got 1.
node_modules/adonis-framework/src/View/Form/index.js(601,51): error TS2345: Argument of type 'number | any[]' is not assignable to parameter of type 'string | any[]'.
Type 'number' is not assignable to type 'string | any[]'.
node_modules/adonis-framework/src/View/index.js(50,23): error TS8024: JSDoc '@param' tag has name 'template_path', but there is no parameter with that name.
node_modules/adonis-framework/src/View/index.js(63,16): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/adonis-framework/src/View/index.js(113,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/View/loader.js(18,1): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/adonis-framework/node_modules/adonis-framework/src/View/loader"' because it is not a variable.
node_modules/adonis-framework/src/View/services.js(10,21): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/src/View/services.js(25,23): error TS8024: JSDoc '@param' tag has name 'lexer', but there is no parameter with that name.
node_modules/adonis-framework/src/View/services.js(34,22): error TS2339: Property 'CallExtensionAsync' does not exist on type 'Function'.
node_modules/adonis-framework/src/View/services.js(65,1): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/adonis-framework/node_modules/adonis-framework/src/View/services"' because it is not a variable.
Standard error:

View file

@ -0,0 +1,68 @@
Exit Code: 1
Standard output:
node_modules/assert/assert.js(73,28): error TS2339: Property 'name' does not exist on type '() => void'.
node_modules/assert/assert.js(103,14): error TS2309: An export assignment cannot be used in a module with other exported elements.
node_modules/assert/assert.js(123,8): error TS2339: Property 'AssertionError' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(124,8): error TS2339: Property 'name' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(125,8): error TS2339: Property 'actual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(126,8): error TS2339: Property 'expected' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(127,8): error TS2339: Property 'operator' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(129,10): error TS2339: Property 'message' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(130,10): error TS2339: Property 'generatedMessage' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(132,10): error TS2339: Property 'message' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(133,10): error TS2339: Property 'generatedMessage' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(154,12): error TS2339: Property 'stack' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(160,22): error TS2339: Property 'AssertionError' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(195,20): error TS2339: Property 'AssertionError' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(205,8): error TS2339: Property 'fail' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(215,55): error TS2339: Property 'ok' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(217,8): error TS2339: Property 'ok' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(223,8): error TS2339: Property 'equal' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(224,72): error TS2339: Property 'equal' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(230,8): error TS2339: Property 'notEqual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(232,50): error TS2339: Property 'notEqual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(239,8): error TS2339: Property 'deepEqual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(241,57): error TS2339: Property 'deepEqual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(245,8): error TS2339: Property 'deepStrictEqual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(247,63): error TS2339: Property 'deepStrictEqual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(366,8): error TS2339: Property 'notDeepEqual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(368,60): error TS2339: Property 'notDeepEqual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(372,8): error TS2339: Property 'notDeepStrictEqual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(383,8): error TS2339: Property 'strictEqual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(385,51): error TS2339: Property 'strictEqual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(392,8): error TS2339: Property 'notStrictEqual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(394,51): error TS2339: Property 'notStrictEqual' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(473,8): error TS2339: Property 'throws' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(478,8): error TS2339: Property 'doesNotThrow' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/assert.js(482,8): error TS2339: Property 'ifError' does not exist on type '(value: any, message: any) => void'.
node_modules/assert/test.js(25,5): error TS2365: Operator '===' cannot be applied to types 'string | undefined' and 'boolean'.
node_modules/assert/test.js(39,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
node_modules/assert/test.js(55,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
node_modules/assert/test.js(74,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
node_modules/assert/test.js(84,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
node_modules/assert/test.js(94,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
node_modules/assert/test.js(103,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
node_modules/assert/test.js(120,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
node_modules/assert/test.js(128,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
node_modules/assert/test.js(140,10): error TS2339: Property 'a' does not exist on type 'number[]'.
node_modules/assert/test.js(141,10): error TS2339: Property 'b' does not exist on type 'number[]'.
node_modules/assert/test.js(142,10): error TS2339: Property 'b' does not exist on type 'number[]'.
node_modules/assert/test.js(143,10): error TS2339: Property 'a' does not exist on type 'number[]'.
node_modules/assert/test.js(149,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
node_modules/assert/test.js(157,51): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'never' has no compatible call signatures.
node_modules/assert/test.js(161,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
node_modules/assert/test.js(168,5): error TS2304: Cannot find name 'test'.
node_modules/assert/test.js(182,5): error TS2304: Cannot find name 'test'.
node_modules/assert/test.js(229,5): error TS2304: Cannot find name 'test'.
node_modules/assert/test.js(235,5): error TS2304: Cannot find name 'test'.
node_modules/assert/test.js(250,5): error TS2304: Cannot find name 'test'.
node_modules/assert/test.js(254,5): error TS2304: Cannot find name 'test'.
node_modules/assert/test.js(256,55): error TS2345: Argument of type 'TypeError' is not assignable to parameter of type 'string'.
node_modules/assert/test.js(262,5): error TS2304: Cannot find name 'test'.
node_modules/assert/test.js(279,5): error TS2304: Cannot find name 'test'.
node_modules/assert/test.js(285,5): error TS2304: Cannot find name 'test'.
node_modules/assert/test.js(320,5): error TS2304: Cannot find name 'test'.
Standard error:

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,169 @@
Exit Code: 1
Standard output:
../../../../node_modules/@types/node/index.d.ts(138,13): error TS2300: Duplicate identifier 'require'.
../../../../node_modules/@types/node/index.d.ts(150,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{ exports: any; }', but here has type 'NodeModule'.
../../../../node_modules/@types/node/index.d.ts(174,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'Buffer' must be of type '(s: string) => void', but here has type '{ new (str: string, encoding?: string | undefined): Buffer; new (size: number): Buffer; new (arra...'.
node_modules/bcryptjs/dist/bcrypt.js(37,16): error TS2345: Argument of type 'never[]' is not assignable to parameter of type 'string'.
node_modules/bcryptjs/dist/bcrypt.js(134,18): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
node_modules/bcryptjs/dist/bcrypt.js(141,13): error TS2322: Type 'undefined' is not assignable to type 'number | ((arg0: Error, arg1?: string) => any)'.
node_modules/bcryptjs/dist/bcrypt.js(144,13): error TS2322: Type 'undefined' is not assignable to type 'number | ((arg0: Error, arg1?: string) => any)'.
node_modules/bcryptjs/dist/bcrypt.js(165,24): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bcryptjs/dist/bcrypt.js(190,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.
node_modules/bcryptjs/dist/bcrypt.js(200,18): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
node_modules/bcryptjs/dist/bcrypt.js(222,24): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bcryptjs/dist/bcrypt.js(278,18): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
node_modules/bcryptjs/dist/bcrypt.js(306,24): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bcryptjs/dist/bcrypt.js(348,25): error TS8028: JSDoc '...' may only appear in the last parameter of a signature.
node_modules/bcryptjs/dist/bcrypt.js(348,34): error TS8024: JSDoc '@param' tag has name 'callback', but there is no parameter with that name.
node_modules/bcryptjs/dist/bcrypt.js(401,9): error TS2322: Type '(...codes: number[]) => string' is not assignable to type '(arg0: number | undefined) => string'.
Types of parameters 'codes' and 'arg0' are incompatible.
Type 'number | undefined' is not assignable to type 'number'.
Type 'undefined' is not assignable to type 'number'.
node_modules/bcryptjs/dist/bcrypt.js(563,42): error TS2531: Object is possibly 'null'.
node_modules/bcryptjs/dist/bcrypt.js(566,44): error TS2531: Object is possibly 'null'.
node_modules/bcryptjs/dist/bcrypt.js(566,59): error TS2533: Object is possibly 'null' or 'undefined'.
node_modules/bcryptjs/dist/bcrypt.js(569,44): error TS2531: Object is possibly 'null'.
node_modules/bcryptjs/dist/bcrypt.js(569,61): error TS2533: Object is possibly 'null' or 'undefined'.
node_modules/bcryptjs/dist/bcrypt.js(569,76): error TS2533: Object is possibly 'null' or 'undefined'.
node_modules/bcryptjs/dist/bcrypt.js(1203,26): error TS2345: Argument of type 'number[] | Int32Array' is not assignable to parameter of type 'number[]'.
Type 'Int32Array' is not assignable to type 'number[]'.
Property 'push' is missing in type 'Int32Array'.
node_modules/bcryptjs/dist/bcrypt.js(1233,30): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Error'.
node_modules/bcryptjs/dist/bcrypt.js(1345,27): error TS2345: Argument of type 'number[] | undefined' is not assignable to parameter of type 'number[]'.
Type 'undefined' is not assignable to type 'number[]'.
node_modules/bcryptjs/dist/bcrypt.js(1351,35): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string'.
node_modules/bcryptjs/dist/bcrypt.js(1353,30): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Error'.
node_modules/bcryptjs/dist/bcrypt.js(1361,33): error TS8024: JSDoc '@param' tag has name 'b', but there is no parameter with that name.
node_modules/bcryptjs/dist/bcrypt.js(1362,24): error TS8024: JSDoc '@param' tag has name 'len', but there is no parameter with that name.
node_modules/bcryptjs/dist/bcrypt.js(1371,24): error TS8024: JSDoc '@param' tag has name 's', but there is no parameter with that name.
node_modules/bcryptjs/dist/bcrypt.js(1372,24): error TS8024: JSDoc '@param' tag has name 'len', but there is no parameter with that name.
node_modules/bcryptjs/externs/bcrypt.js(36,14): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/bcryptjs/externs/bcrypt.js(50,14): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/bcryptjs/externs/bcrypt.js(65,14): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/bcryptjs/externs/bcrypt.js(80,14): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/bcryptjs/externs/bcrypt.js(87,14): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/bcryptjs/externs/minimal-env.js(10,10): error TS2300: Duplicate identifier 'require'.
node_modules/bcryptjs/externs/minimal-env.js(48,1): error TS8022: JSDoc '@extends' is not attached to a class.
node_modules/bcryptjs/externs/minimal-env.js(63,14): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/bcryptjs/externs/minimal-env.js(65,8): error TS2339: Property 'randomBytes' does not exist on type 'Crypto'.
node_modules/bcryptjs/externs/minimal-env.js(70,8): error TS2540: Cannot assign to 'crypto' because it is a constant or a read-only property.
node_modules/bcryptjs/externs/minimal-env.js(75,1): error TS2322: Type '(array: Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array) => void' is not assignable to type '(array: DataView | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32A...'.
Type 'void' is not assignable to type 'DataView | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | U...'.
node_modules/bcryptjs/externs/minimal-env.js(79,21): error TS8028: JSDoc '...' may only appear in the last parameter of a signature.
node_modules/bcryptjs/externs/minimal-env.js(90,14): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/bcryptjs/externs/minimal-env.js(92,8): error TS2339: Property 'fromCodePoint' does not exist on type 'StringConstructor'.
node_modules/bcryptjs/externs/minimal-env.js(96,14): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/bcryptjs/scripts/build.js(5,20): error TS2339: Property 'join' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(6,19): error TS2339: Property 'join' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(7,20): error TS2339: Property 'join' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(8,24): error TS2339: Property 'join' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(12,18): error TS2339: Property 'version' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(18,4): error TS2339: Property 'writeFileSync' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(19,10): error TS2339: Property 'join' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(20,16): error TS2339: Property 'transform' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(20,29): error TS2339: Property 'readFileSync' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(20,58): error TS2339: Property 'join' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(32,1): error TS2322: Type '{ VERSION: any; }' is not assignable to type '{ [x: string]: any; VERSION: any; ISAAC: boolean; }'.
Property 'ISAAC' is missing in type '{ VERSION: any; }'.
node_modules/bcryptjs/scripts/build.js(32,24): error TS2339: Property 'version' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(34,4): error TS2339: Property 'writeFileSync' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(35,10): error TS2339: Property 'join' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(36,16): error TS2339: Property 'transform' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(36,29): error TS2339: Property 'readFileSync' does not exist on type 'void'.
node_modules/bcryptjs/scripts/build.js(36,58): error TS2339: Property 'join' does not exist on type 'void'.
node_modules/bcryptjs/src/bcrypt.js(94,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
node_modules/bcryptjs/src/bcrypt.js(101,9): error TS2322: Type 'undefined' is not assignable to type 'number | ((arg0: Error, arg1?: string) => any)'.
node_modules/bcryptjs/src/bcrypt.js(104,9): error TS2322: Type 'undefined' is not assignable to type 'number | ((arg0: Error, arg1?: string) => any)'.
node_modules/bcryptjs/src/bcrypt.js(125,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bcryptjs/src/bcrypt.js(150,5): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.
node_modules/bcryptjs/src/bcrypt.js(160,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
node_modules/bcryptjs/src/bcrypt.js(182,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bcryptjs/src/bcrypt.js(238,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
node_modules/bcryptjs/src/bcrypt.js(266,20): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bcryptjs/src/bcrypt.js(312,29): error TS8024: JSDoc '@param' tag has name 'b', but there is no parameter with that name.
node_modules/bcryptjs/src/bcrypt.js(313,20): error TS8024: JSDoc '@param' tag has name 'len', but there is no parameter with that name.
node_modules/bcryptjs/src/bcrypt.js(322,20): error TS8024: JSDoc '@param' tag has name 's', but there is no parameter with that name.
node_modules/bcryptjs/src/bcrypt.js(323,20): error TS8024: JSDoc '@param' tag has name 'len', but there is no parameter with that name.
node_modules/bcryptjs/src/bcrypt/impl.js(516,22): error TS2345: Argument of type 'number[] | Int32Array' is not assignable to parameter of type 'number[]'.
Type 'Int32Array' is not assignable to type 'number[]'.
node_modules/bcryptjs/src/bcrypt/impl.js(546,26): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Error'.
node_modules/bcryptjs/src/bcrypt/impl.js(658,23): error TS2345: Argument of type 'number[] | undefined' is not assignable to parameter of type 'number[]'.
Type 'undefined' is not assignable to type 'number[]'.
node_modules/bcryptjs/src/bcrypt/impl.js(664,31): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string'.
node_modules/bcryptjs/src/bcrypt/impl.js(666,26): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Error'.
node_modules/bcryptjs/src/bcrypt/prng/accum.js(51,74): error TS2339: Property 'attachEvent' does not exist on type 'Document'.
node_modules/bcryptjs/src/bcrypt/prng/accum.js(52,22): error TS2339: Property 'attachEvent' does not exist on type 'Document'.
node_modules/bcryptjs/src/bcrypt/prng/accum.js(53,22): error TS2339: Property 'attachEvent' does not exist on type 'Document'.
node_modules/bcryptjs/src/bcrypt/prng/accum.js(65,74): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
node_modules/bcryptjs/src/bcrypt/prng/accum.js(66,22): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
node_modules/bcryptjs/src/bcrypt/prng/accum.js(67,22): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
node_modules/bcryptjs/src/bcrypt/util.js(4,21): error TS8028: JSDoc '...' may only appear in the last parameter of a signature.
node_modules/bcryptjs/src/bcrypt/util.js(4,30): error TS8024: JSDoc '@param' tag has name 'callback', but there is no parameter with that name.
node_modules/bcryptjs/src/bcrypt/util.js(20,5): error TS2304: Cannot find name 'utfx'.
node_modules/bcryptjs/src/bcrypt/util/base64.js(29,5): error TS2322: Type '(...codes: number[]) => string' is not assignable to type '(arg0: number | undefined) => string'.
Types of parameters 'codes' and 'arg0' are incompatible.
Type 'number | undefined' is not assignable to type 'number'.
Type 'undefined' is not assignable to type 'number'.
node_modules/bcryptjs/src/wrap.js(38,16): error TS2345: Argument of type 'never[]' is not assignable to parameter of type 'string'.
node_modules/bcryptjs/tests/suite.js(4,27): error TS2339: Property 'join' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(15,26): error TS2339: Property 'encodeBase64' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(21,28): error TS2339: Property 'decodeBase64' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(27,27): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(35,16): error TS2339: Property 'genSalt' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(45,20): error TS2339: Property 'hashSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(47,30): error TS2339: Property 'hashSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(47,60): error TS2339: Property 'hashSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(52,16): error TS2339: Property 'hash' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(60,28): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(61,28): error TS2339: Property 'hashSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(62,28): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(63,28): error TS2339: Property 'hashSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(64,28): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(65,28): error TS2339: Property 'hashSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(68,24): error TS2339: Property 'compareSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(69,27): error TS2339: Property 'compareSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(70,27): error TS2339: Property 'compareSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(73,24): error TS2339: Property 'compareSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(74,27): error TS2339: Property 'compareSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(75,27): error TS2339: Property 'compareSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(78,24): error TS2339: Property 'compareSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(79,27): error TS2339: Property 'compareSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(80,27): error TS2339: Property 'compareSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(86,28): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(87,28): error TS2339: Property 'hashSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(88,28): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(90,28): error TS2339: Property 'hashSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(91,16): error TS2339: Property 'compare' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(94,20): error TS2339: Property 'compare' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(97,24): error TS2339: Property 'compare' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(100,28): error TS2339: Property 'compare' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(111,28): error TS2339: Property 'hashSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(111,53): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(112,27): error TS2339: Property 'getSalt' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(113,28): error TS2339: Property 'hashSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(119,28): error TS2339: Property 'hashSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(119,53): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(120,27): error TS2339: Property 'getRounds' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(125,16): error TS2339: Property 'genSalt' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(128,20): error TS2339: Property 'hash' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(142,16): error TS2339: Property 'genSalt' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(144,20): error TS2339: Property 'hash' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(147,24): error TS2339: Property 'compare' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(150,28): error TS2339: Property 'genSalt' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(170,27): error TS2339: Property 'readFileSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(170,45): error TS2339: Property 'join' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(171,31): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(172,33): error TS2339: Property 'hashSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(173,32): error TS2339: Property 'hashSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(179,32): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(180,33): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(184,28): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(185,28): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(189,28): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
node_modules/bcryptjs/tests/suite.js(190,28): error TS2339: Property 'genSaltSync' does not exist on type 'void'.
Standard error:

View file

@ -0,0 +1,618 @@
Exit Code: 1
Standard output:
node_modules/bluebird/js/browser/bluebird.core.js(30,116): error TS2304: Cannot find name 'define'.
node_modules/bluebird/js/browser/bluebird.core.js(30,124): error TS2304: Cannot find name 'define'.
node_modules/bluebird/js/browser/bluebird.core.js(30,135): error TS2304: Cannot find name 'define'.
node_modules/bluebird/js/browser/bluebird.core.js(30,266): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(30,268): error TS2339: Property 'Promise' does not exist on type 'Window | Global'.
Property 'Promise' does not exist on type 'Window'.
node_modules/bluebird/js/browser/bluebird.core.js(30,394): error TS2304: Cannot find name '_dereq_'.
node_modules/bluebird/js/browser/bluebird.core.js(30,415): error TS2304: Cannot find name '_dereq_'.
node_modules/bluebird/js/browser/bluebird.core.js(30,521): error TS2339: Property 'code' does not exist on type 'Error'.
node_modules/bluebird/js/browser/bluebird.core.js(30,694): error TS2304: Cannot find name '_dereq_'.
node_modules/bluebird/js/browser/bluebird.core.js(30,715): error TS2304: Cannot find name '_dereq_'.
node_modules/bluebird/js/browser/bluebird.core.js(190,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
node_modules/bluebird/js/browser/bluebird.core.js(265,12): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.core.js(265,43): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.core.js(267,15): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.core.js(267,37): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.core.js(462,23): error TS2531: Object is possibly 'null'.
node_modules/bluebird/js/browser/bluebird.core.js(681,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'event' must be of type 'CustomEvent<any>', but here has type 'Event'.
node_modules/bluebird/js/browser/bluebird.core.js(687,26): error TS2339: Property 'detail' does not exist on type 'Event'.
node_modules/bluebird/js/browser/bluebird.core.js(1068,46): error TS2554: Expected 0 arguments, but got 1.
node_modules/bluebird/js/browser/bluebird.core.js(1242,5): error TS2721: Cannot invoke an object which is possibly 'null'.
node_modules/bluebird/js/browser/bluebird.core.js(1260,30): error TS2339: Property 'stack' does not exist on type '{ _parent: any; _promisesCreated: number | undefined; _length: any; uncycle: () => void; attachEx...'.
node_modules/bluebird/js/browser/bluebird.core.js(1266,37): error TS2339: Property 'stack' does not exist on type '{ _parent: any; _promisesCreated: number | undefined; _length: any; uncycle: () => void; attachEx...'.
node_modules/bluebird/js/browser/bluebird.core.js(1305,38): error TS2339: Property 'stack' does not exist on type '{ _parent: any; _promisesCreated: number | undefined; _length: any; uncycle: () => void; attachEx...'.
node_modules/bluebird/js/browser/bluebird.core.js(1314,25): error TS2554: Expected 0 arguments, but got 1.
node_modules/bluebird/js/browser/bluebird.core.js(1500,49): error TS2350: Only a void function can be called with the 'new' keyword.
node_modules/bluebird/js/browser/bluebird.core.js(2125,24): error TS2339: Property 'PromiseInspection' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.core.js(2138,32): error TS2322: Type 'null' is not assignable to type 'Domain'.
node_modules/bluebird/js/browser/bluebird.core.js(2153,25): error TS2339: Property 'TypeError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.core.js(2154,9): error TS2339: Property 'RangeError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.core.js(2155,33): error TS2339: Property 'CancellationError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.core.js(2156,9): error TS2339: Property 'TimeoutError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.core.js(2157,9): error TS2339: Property 'OperationalError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.core.js(2158,9): error TS2339: Property 'RejectionError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.core.js(2159,9): error TS2339: Property 'AggregateError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.core.js(2241,14): error TS2339: Property '_warn' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2266,14): error TS2551: Property 'isFulfilled' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'. Did you mean '_setFulfilled'?
node_modules/bluebird/js/browser/bluebird.core.js(2267,37): error TS2339: Property 'value' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2269,21): error TS2551: Property 'isRejected' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'. Did you mean '_setRejected'?
node_modules/bluebird/js/browser/bluebird.core.js(2270,36): error TS2339: Property 'reason' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2278,14): error TS2339: Property '_warn' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2295,9): error TS2339: Property '_captureStackTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2325,9): error TS2339: Property '_captureStackTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2352,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2353,20): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2356,63): error TS2339: Property '_boundTo' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2359,14): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2363,12): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2365,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2368,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2371,20): error TS2339: Property '_unsetRejectionIsUnhandled' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2375,20): error TS2339: Property '_attachExtraTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2395,12): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2399,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2403,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2407,23): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2412,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2413,10): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2417,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2418,10): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2422,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2423,10): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2427,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2431,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2435,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2439,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2440,10): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2444,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2449,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2457,42): error TS2339: Property '_isBound' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2546,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2552,26): error TS2339: Property '_propagateFrom' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2589,14): error TS2339: Property '_warn' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2591,10): error TS2339: Property '_attachExtraTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2598,10): error TS2339: Property '_captureStackTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2599,10): error TS2339: Property '_pushContext' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2601,18): error TS2339: Property '_execute' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2607,10): error TS2339: Property '_popContext' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2648,32): error TS2322: Type 'undefined' is not assignable to type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2663,29): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2664,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2691,19): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2699,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2745,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2748,14): error TS2339: Property '_attachExtraTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2754,10): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2755,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2765,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2773,10): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2776,14): error TS2339: Property '_ensurePossibleRejectionHandled' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2802,16): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2805,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2816,10): error TS2339: Property '_clearCancellationData' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.core.js(2821,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2823,18): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(2891,25): error TS2304: Cannot find name 'Map'.
node_modules/bluebird/js/browser/bluebird.core.js(2951,18): error TS2339: Property '_resolveEmptyArray' does not exist on type '{ _promise: any; _values: any; _length: number | undefined; _totalResolved: number | undefined; l...'.
node_modules/bluebird/js/browser/bluebird.core.js(2989,30): error TS2554: Expected 0-1 arguments, but got 2.
node_modules/bluebird/js/browser/bluebird.core.js(2991,30): error TS2554: Expected 0 arguments, but got 1.
node_modules/bluebird/js/browser/bluebird.core.js(3022,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(3023,26): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(3036,5): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(3088,25): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(3089,14): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(3089,28): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(3091,20): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(3095,18): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(3102,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(3113,20): error TS2538: Type 'undefined' cannot be used as an index type.
node_modules/bluebird/js/browser/bluebird.core.js(3115,10): error TS2538: Type 'undefined' cannot be used as an index type.
node_modules/bluebird/js/browser/bluebird.core.js(3116,20): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(3117,5): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(3136,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(3136,35): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.core.js(3165,31): error TS2339: Property 'standalone' does not exist on type 'Navigator'.
node_modules/bluebird/js/browser/bluebird.core.js(3165,52): error TS2339: Property 'cordova' does not exist on type 'Window'.
node_modules/bluebird/js/browser/bluebird.core.js(3599,5): error TS7027: Unreachable code detected.
node_modules/bluebird/js/browser/bluebird.core.js(3687,34): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'.
node_modules/bluebird/js/browser/bluebird.core.js(3688,22): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'.
node_modules/bluebird/js/browser/bluebird.core.js(3720,16): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.core.js(3722,31): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.core.js(3724,24): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.core.js(3761,25): error TS2304: Cannot find name 'chrome'.
node_modules/bluebird/js/browser/bluebird.core.js(3761,51): error TS2304: Cannot find name 'chrome'.
node_modules/bluebird/js/browser/bluebird.core.js(3762,25): error TS2304: Cannot find name 'chrome'.
node_modules/bluebird/js/browser/bluebird.core.js(3781,118): error TS2339: Property 'P' does not exist on type 'Window'.
node_modules/bluebird/js/browser/bluebird.core.js(3781,129): error TS2339: Property 'Promise' does not exist on type 'Window'.
node_modules/bluebird/js/browser/bluebird.core.js(3781,282): error TS2339: Property 'P' does not exist on type 'Window'.
node_modules/bluebird/js/browser/bluebird.core.js(3781,291): error TS2339: Property 'Promise' does not exist on type 'Window'.
node_modules/bluebird/js/browser/bluebird.js(29,116): error TS2304: Cannot find name 'define'.
node_modules/bluebird/js/browser/bluebird.js(29,124): error TS2304: Cannot find name 'define'.
node_modules/bluebird/js/browser/bluebird.js(29,135): error TS2304: Cannot find name 'define'.
node_modules/bluebird/js/browser/bluebird.js(29,266): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(29,268): error TS2339: Property 'Promise' does not exist on type 'Window | Global'.
Property 'Promise' does not exist on type 'Window'.
node_modules/bluebird/js/browser/bluebird.js(29,394): error TS2304: Cannot find name '_dereq_'.
node_modules/bluebird/js/browser/bluebird.js(29,415): error TS2304: Cannot find name '_dereq_'.
node_modules/bluebird/js/browser/bluebird.js(29,521): error TS2339: Property 'code' does not exist on type 'Error'.
node_modules/bluebird/js/browser/bluebird.js(29,694): error TS2304: Cannot find name '_dereq_'.
node_modules/bluebird/js/browser/bluebird.js(29,715): error TS2304: Cannot find name '_dereq_'.
node_modules/bluebird/js/browser/bluebird.js(31,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
node_modules/bluebird/js/browser/bluebird.js(287,12): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.js(287,43): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.js(289,15): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.js(289,37): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.js(609,23): error TS2531: Object is possibly 'null'.
node_modules/bluebird/js/browser/bluebird.js(828,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'event' must be of type 'CustomEvent<any>', but here has type 'Event'.
node_modules/bluebird/js/browser/bluebird.js(834,26): error TS2339: Property 'detail' does not exist on type 'Event'.
node_modules/bluebird/js/browser/bluebird.js(1215,46): error TS2554: Expected 0 arguments, but got 1.
node_modules/bluebird/js/browser/bluebird.js(1389,5): error TS2721: Cannot invoke an object which is possibly 'null'.
node_modules/bluebird/js/browser/bluebird.js(1407,30): error TS2339: Property 'stack' does not exist on type '{ _parent: any; _promisesCreated: number | undefined; _length: any; uncycle: () => void; attachEx...'.
node_modules/bluebird/js/browser/bluebird.js(1413,37): error TS2339: Property 'stack' does not exist on type '{ _parent: any; _promisesCreated: number | undefined; _length: any; uncycle: () => void; attachEx...'.
node_modules/bluebird/js/browser/bluebird.js(1452,38): error TS2339: Property 'stack' does not exist on type '{ _parent: any; _promisesCreated: number | undefined; _length: any; uncycle: () => void; attachEx...'.
node_modules/bluebird/js/browser/bluebird.js(1461,25): error TS2554: Expected 0 arguments, but got 1.
node_modules/bluebird/js/browser/bluebird.js(1679,49): error TS2350: Only a void function can be called with the 'new' keyword.
node_modules/bluebird/js/browser/bluebird.js(2093,21): error TS2322: Type 'null' is not assignable to type 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2102,35): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2111,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2116,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2128,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2137,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2144,9): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.
node_modules/bluebird/js/browser/bluebird.js(2147,9): error TS2533: Object is possibly 'null' or 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2251,5): error TS2554: Expected 0 arguments, but got 1.
node_modules/bluebird/js/browser/bluebird.js(2456,10): error TS2551: Property '_init$' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'. Did you mean '_init'?
node_modules/bluebird/js/browser/bluebird.js(2462,23): error TS2339: Property '_values' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2463,23): error TS2339: Property 'length' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2471,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2473,22): error TS2339: Property '_isResolved' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2476,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2478,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2478,30): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
node_modules/bluebird/js/browser/bluebird.js(2481,39): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2483,28): error TS2339: Property '_promise' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2496,18): error TS2339: Property '_reject' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2500,58): error TS2339: Property '_promise' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2506,33): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2513,22): error TS2339: Property '_reject' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2516,22): error TS2339: Property '_cancel' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2522,32): error TS2339: Property '_totalResolved' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2527,18): error TS2339: Property '_resolve' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2537,23): error TS2339: Property '_values' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2538,12): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2538,32): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2539,18): error TS2339: Property '_isResolved' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2540,21): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(2553,10): error TS2339: Property '_resolve' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2582,66): error TS2339: Property 'promise' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/browser/bluebird.js(2738,19): error TS2339: Property 'cause' does not exist on type 'Error'.
node_modules/bluebird/js/browser/bluebird.js(2773,24): error TS2339: Property 'PromiseInspection' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.js(2786,32): error TS2322: Type 'null' is not assignable to type 'Domain'.
node_modules/bluebird/js/browser/bluebird.js(2801,25): error TS2339: Property 'TypeError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.js(2802,9): error TS2339: Property 'RangeError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.js(2803,33): error TS2339: Property 'CancellationError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.js(2804,9): error TS2339: Property 'TimeoutError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.js(2805,9): error TS2339: Property 'OperationalError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.js(2806,9): error TS2339: Property 'RejectionError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.js(2807,9): error TS2339: Property 'AggregateError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/browser/bluebird.js(2889,14): error TS2339: Property '_warn' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(2914,14): error TS2551: Property 'isFulfilled' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'. Did you mean '_setFulfilled'?
node_modules/bluebird/js/browser/bluebird.js(2915,37): error TS2339: Property 'value' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(2917,21): error TS2551: Property 'isRejected' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'. Did you mean '_setRejected'?
node_modules/bluebird/js/browser/bluebird.js(2918,36): error TS2339: Property 'reason' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(2926,14): error TS2339: Property '_warn' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(2943,9): error TS2339: Property '_captureStackTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(2973,9): error TS2339: Property '_captureStackTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3000,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3001,20): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3004,63): error TS2339: Property '_boundTo' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3007,14): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3011,12): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3013,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3016,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3019,20): error TS2339: Property '_unsetRejectionIsUnhandled' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3023,20): error TS2339: Property '_attachExtraTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3043,12): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3047,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3051,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3055,23): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3060,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3061,10): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3065,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3066,10): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3070,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3071,10): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3075,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3079,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3083,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3087,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3088,10): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3092,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3097,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3105,42): error TS2339: Property '_isBound' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3194,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3200,26): error TS2339: Property '_propagateFrom' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3237,14): error TS2339: Property '_warn' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3239,10): error TS2339: Property '_attachExtraTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3246,10): error TS2339: Property '_captureStackTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3247,10): error TS2339: Property '_pushContext' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3249,18): error TS2339: Property '_execute' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3255,10): error TS2339: Property '_popContext' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3296,32): error TS2322: Type 'undefined' is not assignable to type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3311,29): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3312,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3339,19): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3347,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3393,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3396,14): error TS2339: Property '_attachExtraTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3402,10): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3403,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3413,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3421,10): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3424,14): error TS2339: Property '_ensurePossibleRejectionHandled' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3450,16): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3453,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3464,10): error TS2339: Property '_clearCancellationData' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(3469,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3471,18): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3554,25): error TS2304: Cannot find name 'Map'.
node_modules/bluebird/js/browser/bluebird.js(3614,18): error TS2339: Property '_resolveEmptyArray' does not exist on type '{ _promise: any; _values: any; _length: number | undefined; _totalResolved: number | undefined; l...'.
node_modules/bluebird/js/browser/bluebird.js(3652,30): error TS2554: Expected 0-1 arguments, but got 2.
node_modules/bluebird/js/browser/bluebird.js(3654,30): error TS2554: Expected 0 arguments, but got 1.
node_modules/bluebird/js/browser/bluebird.js(3685,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3686,26): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3699,5): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3799,22): error TS2554: Expected 0-1 arguments, but got 3.
node_modules/bluebird/js/browser/bluebird.js(3823,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'i' must be of type 'number', but here has type 'any'.
node_modules/bluebird/js/browser/bluebird.js(3979,17): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3982,24): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(3994,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4054,12): error TS2304: Cannot find name 'Map'.
node_modules/bluebird/js/browser/bluebird.js(4054,41): error TS2304: Cannot find name 'Map'.
node_modules/bluebird/js/browser/bluebird.js(4111,10): error TS2339: Property '_values' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/browser/bluebird.js(4112,32): error TS2339: Property '_totalResolved' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/browser/bluebird.js(4113,31): error TS2339: Property '_length' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/browser/bluebird.js(4116,37): error TS2339: Property '_values' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/browser/bluebird.js(4119,34): error TS2339: Property 'length' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/browser/bluebird.js(4120,40): error TS2339: Property 'length' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/browser/bluebird.js(4121,26): error TS2339: Property '_values' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/browser/bluebird.js(4121,57): error TS2339: Property '_values' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/browser/bluebird.js(4124,14): error TS2339: Property '_resolve' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/browser/bluebird.js(4148,53): error TS2339: Property 'promise' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/browser/bluebird.js(4187,25): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4188,14): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4188,28): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4190,20): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4194,18): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4201,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4212,20): error TS2538: Type 'undefined' cannot be used as an index type.
node_modules/bluebird/js/browser/bluebird.js(4214,10): error TS2538: Type 'undefined' cannot be used as an index type.
node_modules/bluebird/js/browser/bluebird.js(4215,20): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4216,5): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4235,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4235,35): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4336,9): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4353,10): error TS2339: Property '_promise' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'.
node_modules/bluebird/js/browser/bluebird.js(4354,10): error TS2339: Property '_values' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'.
node_modules/bluebird/js/browser/bluebird.js(4358,52): error TS2339: Property '_cancel' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'.
node_modules/bluebird/js/browser/bluebird.js(4359,14): error TS2339: Property '_isResolved' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'.
node_modules/bluebird/js/browser/bluebird.js(4360,10): error TS2551: Property '_resultCancelled$' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'. Did you mean '_resultCancelled'?
node_modules/bluebird/js/browser/bluebird.js(4361,9): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.
node_modules/bluebird/js/browser/bluebird.js(4362,9): error TS2533: Object is possibly 'null' or 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4370,10): error TS2339: Property '_values' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'.
node_modules/bluebird/js/browser/bluebird.js(4425,18): error TS2339: Property 'promise' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'.
node_modules/bluebird/js/browser/bluebird.js(4489,31): error TS2339: Property 'standalone' does not exist on type 'Navigator'.
node_modules/bluebird/js/browser/bluebird.js(4489,52): error TS2339: Property 'cordova' does not exist on type 'Window'.
node_modules/bluebird/js/browser/bluebird.js(4542,10): error TS2339: Property '_values' does not exist on type '{ _promiseResolved: (index: any, inspection: any) => boolean; _promiseFulfilled: (value: any, ind...'.
node_modules/bluebird/js/browser/bluebird.js(4543,32): error TS2339: Property '_totalResolved' does not exist on type '{ _promiseResolved: (index: any, inspection: any) => boolean; _promiseFulfilled: (value: any, ind...'.
node_modules/bluebird/js/browser/bluebird.js(4544,31): error TS2339: Property '_length' does not exist on type '{ _promiseResolved: (index: any, inspection: any) => boolean; _promiseFulfilled: (value: any, ind...'.
node_modules/bluebird/js/browser/bluebird.js(4545,14): error TS2339: Property '_resolve' does not exist on type '{ _promiseResolved: (index: any, inspection: any) => boolean; _promiseFulfilled: (value: any, ind...'.
node_modules/bluebird/js/browser/bluebird.js(4545,28): error TS2339: Property '_values' does not exist on type '{ _promiseResolved: (index: any, inspection: any) => boolean; _promiseFulfilled: (value: any, ind...'.
node_modules/bluebird/js/browser/bluebird.js(4566,46): error TS2339: Property 'promise' does not exist on type '{ _promiseResolved: (index: any, inspection: any) => boolean; _promiseFulfilled: (value: any, ind...'.
node_modules/bluebird/js/browser/bluebird.js(4598,14): error TS2339: Property '_resolve' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4601,10): error TS2551: Property '_init$' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'. Did you mean '_init'?
node_modules/bluebird/js/browser/bluebird.js(4602,40): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4603,15): error TS2339: Property '_isResolved' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4605,9): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4606,14): error TS2551: Property '_reject' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'. Did you mean '_rejected'?
node_modules/bluebird/js/browser/bluebird.js(4606,47): error TS2339: Property 'length' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4630,14): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4632,18): error TS2339: Property '_resolve' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4632,32): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4634,18): error TS2339: Property '_resolve' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4634,32): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4647,14): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4647,49): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4648,21): error TS2339: Property '_cancel' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4655,9): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/browser/bluebird.js(4657,27): error TS2339: Property 'length' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4657,46): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4658,22): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4659,29): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4663,18): error TS2551: Property '_reject' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'. Did you mean '_rejected'?
node_modules/bluebird/js/browser/bluebird.js(4665,18): error TS2339: Property '_cancel' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4673,17): error TS2339: Property '_totalResolved' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4677,17): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4677,39): error TS2339: Property 'length' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4681,10): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4685,10): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4685,23): error TS2339: Property '_totalResolved' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4689,17): error TS2339: Property 'length' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(4699,10): error TS2551: Property '_reject' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'. Did you mean '_rejected'?
node_modules/bluebird/js/browser/bluebird.js(4707,23): error TS2339: Property 'promise' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/browser/bluebird.js(5090,20): error TS2339: Property 'doDispose' does not exist on type '{ _data: any; _promise: any; _context: any; data: () => any; promise: () => any; resource: () => ...'.
node_modules/bluebird/js/browser/bluebird.js(5109,23): error TS2339: Property 'data' does not exist on type '{ doDispose: (resource: any, inspection: any) => any; }'.
node_modules/bluebird/js/browser/bluebird.js(5441,5): error TS7027: Unreachable code detected.
node_modules/bluebird/js/browser/bluebird.js(5529,34): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'.
node_modules/bluebird/js/browser/bluebird.js(5530,22): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'.
node_modules/bluebird/js/browser/bluebird.js(5562,16): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.js(5564,31): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.js(5566,24): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/browser/bluebird.js(5603,25): error TS2304: Cannot find name 'chrome'.
node_modules/bluebird/js/browser/bluebird.js(5603,51): error TS2304: Cannot find name 'chrome'.
node_modules/bluebird/js/browser/bluebird.js(5604,25): error TS2304: Cannot find name 'chrome'.
node_modules/bluebird/js/browser/bluebird.js(5623,118): error TS2339: Property 'P' does not exist on type 'Window'.
node_modules/bluebird/js/browser/bluebird.js(5623,129): error TS2339: Property 'Promise' does not exist on type 'Window'.
node_modules/bluebird/js/browser/bluebird.js(5623,282): error TS2339: Property 'P' does not exist on type 'Window'.
node_modules/bluebird/js/browser/bluebird.js(5623,291): error TS2339: Property 'Promise' does not exist on type 'Window'.
node_modules/bluebird/js/release/assert.js(11,30): error TS2339: Property 'constructor$' does not exist on type 'Error'.
node_modules/bluebird/js/release/async.js(68,9): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/bluebird/js/release/async.js(100,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/bluebird/js/release/async.js(112,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/bluebird/js/release/async.js(122,13): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/bluebird/js/release/async.js(152,9): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/bluebird/js/release/async.js(160,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
node_modules/bluebird/js/release/bluebird.js(3,12): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/release/bluebird.js(3,43): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/release/bluebird.js(5,15): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/release/bluebird.js(5,37): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/release/bluebird.js(10,10): error TS2339: Property 'noConflict' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/release/catch_filter.js(27,28): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '((o: {}) => string[]) | ((o: any) => string[])' has no compatible call signatures.
node_modules/bluebird/js/release/context.js(12,23): error TS2531: Object is possibly 'null'.
node_modules/bluebird/js/release/debuggability.js(18,20): error TS2365: Operator '!=' cannot be applied to types 'string | undefined' and 'number'.
node_modules/bluebird/js/release/debuggability.js(23,19): error TS2365: Operator '!=' cannot be applied to types 'string | undefined' and 'number'.
node_modules/bluebird/js/release/debuggability.js(26,26): error TS2365: Operator '!=' cannot be applied to types 'string | undefined' and 'number'.
node_modules/bluebird/js/release/debuggability.js(29,24): error TS2365: Operator '!=' cannot be applied to types 'string | undefined' and 'number'.
node_modules/bluebird/js/release/debuggability.js(160,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'event' must be of type 'CustomEvent<any>', but here has type 'Event'.
node_modules/bluebird/js/release/debuggability.js(166,26): error TS2339: Property 'detail' does not exist on type 'Event'.
node_modules/bluebird/js/release/debuggability.js(476,19): error TS2350: Only a void function can be called with the 'new' keyword.
node_modules/bluebird/js/release/debuggability.js(547,46): error TS2554: Expected 0 arguments, but got 1.
node_modules/bluebird/js/release/debuggability.js(721,5): error TS2721: Cannot invoke an object which is possibly 'null'.
node_modules/bluebird/js/release/debuggability.js(739,30): error TS2339: Property 'stack' does not exist on type '{ _parent: any; _promisesCreated: number | undefined; _length: any; uncycle: () => void; attachEx...'.
node_modules/bluebird/js/release/debuggability.js(745,37): error TS2339: Property 'stack' does not exist on type '{ _parent: any; _promisesCreated: number | undefined; _length: any; uncycle: () => void; attachEx...'.
node_modules/bluebird/js/release/debuggability.js(784,38): error TS2339: Property 'stack' does not exist on type '{ _parent: any; _promisesCreated: number | undefined; _length: any; uncycle: () => void; attachEx...'.
node_modules/bluebird/js/release/debuggability.js(793,25): error TS2554: Expected 0 arguments, but got 1.
node_modules/bluebird/js/release/errors.js(10,49): error TS2350: Only a void function can be called with the 'new' keyword.
node_modules/bluebird/js/release/errors.js(46,1): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '((o: any, p: string, attributes: PropertyDescriptor & ThisType<any>) => any) | ((o: any, key: any...' has no compatible call signatures.
node_modules/bluebird/js/release/errors.js(92,18): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '{ <T>(a: T[]): ReadonlyArray<T>; <T extends Function>(f: T): T; <T>(o: T): Readonly<T>; } | ((obj...' has no compatible call signatures.
node_modules/bluebird/js/release/errors.js(99,5): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '((o: any, p: string, attributes: PropertyDescriptor & ThisType<any>) => any) | ((o: any, key: any...' has no compatible call signatures.
node_modules/bluebird/js/release/generators.js(62,21): error TS2322: Type 'null' is not assignable to type 'undefined'.
node_modules/bluebird/js/release/generators.js(71,35): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/generators.js(80,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/generators.js(85,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/generators.js(97,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/generators.js(106,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/generators.js(113,9): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.
node_modules/bluebird/js/release/generators.js(116,9): error TS2533: Object is possibly 'null' or 'undefined'.
node_modules/bluebird/js/release/generators.js(159,21): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/generators.js(190,15): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/generators.js(208,15): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/generators.js(220,5): error TS2554: Expected 0 arguments, but got 1.
node_modules/bluebird/js/release/map.js(30,10): error TS2551: Property '_init$' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'. Did you mean '_init'?
node_modules/bluebird/js/release/map.js(36,23): error TS2339: Property '_values' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/map.js(37,23): error TS2339: Property 'length' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/map.js(45,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/map.js(47,22): error TS2339: Property '_isResolved' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/map.js(50,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/map.js(52,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/map.js(52,30): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
node_modules/bluebird/js/release/map.js(55,39): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/map.js(57,28): error TS2339: Property '_promise' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/map.js(70,18): error TS2339: Property '_reject' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/map.js(74,58): error TS2339: Property '_promise' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/map.js(80,33): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/map.js(87,22): error TS2339: Property '_reject' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/map.js(90,22): error TS2339: Property '_cancel' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/map.js(96,32): error TS2339: Property '_totalResolved' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/map.js(101,18): error TS2339: Property '_resolve' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/map.js(111,23): error TS2339: Property '_values' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/map.js(112,12): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/map.js(112,32): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/map.js(113,18): error TS2339: Property '_isResolved' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/map.js(114,21): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/map.js(127,10): error TS2339: Property '_resolve' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/map.js(156,66): error TS2339: Property 'promise' does not exist on type '{ _callback: any; _preservedValues: any[] | null | undefined; _limit: any; _inFlight: number | un...'.
node_modules/bluebird/js/release/nodeback.js(21,20): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '((o: {}) => string[]) | ((o: any) => string[])' has no compatible call signatures.
node_modules/bluebird/js/release/nodeify.js(32,19): error TS2339: Property 'cause' does not exist on type 'Error'.
node_modules/bluebird/js/release/promise.js(4,12): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/promise.js(7,24): error TS2339: Property 'PromiseInspection' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/release/promise.js(10,27): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/promise.js(20,32): error TS2322: Type 'null' is not assignable to type 'Domain'.
node_modules/bluebird/js/release/promise.js(33,1): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '((o: any, p: string, attributes: PropertyDescriptor & ThisType<any>) => any) | ((o: any, key: any...' has no compatible call signatures.
node_modules/bluebird/js/release/promise.js(35,25): error TS2339: Property 'TypeError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/release/promise.js(36,9): error TS2339: Property 'RangeError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/release/promise.js(37,33): error TS2339: Property 'CancellationError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/release/promise.js(38,9): error TS2339: Property 'TimeoutError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/release/promise.js(39,9): error TS2339: Property 'OperationalError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/release/promise.js(40,9): error TS2339: Property 'RejectionError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/release/promise.js(41,9): error TS2339: Property 'AggregateError' does not exist on type '{ (executor: any): void; getNewLibraryCopy: any; is: (val: any) => boolean; fromNode: (fn: any, ....'.
node_modules/bluebird/js/release/promise.js(62,15): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/promise.js(65,15): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/promise.js(123,14): error TS2339: Property '_warn' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(148,14): error TS2551: Property 'isFulfilled' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'. Did you mean '_setFulfilled'?
node_modules/bluebird/js/release/promise.js(149,37): error TS2339: Property 'value' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(151,21): error TS2551: Property 'isRejected' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'. Did you mean '_setRejected'?
node_modules/bluebird/js/release/promise.js(152,36): error TS2339: Property 'reason' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(160,14): error TS2339: Property '_warn' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(177,9): error TS2339: Property '_captureStackTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(207,9): error TS2339: Property '_captureStackTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(214,15): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/promise.js(234,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(235,20): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(238,63): error TS2339: Property '_boundTo' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(241,14): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(245,12): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(247,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(250,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(253,20): error TS2339: Property '_unsetRejectionIsUnhandled' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(257,20): error TS2339: Property '_attachExtraTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(277,12): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(281,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(285,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(289,23): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(294,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(295,10): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(299,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(300,10): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(304,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(305,10): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(309,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(313,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(317,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(321,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(322,10): error TS2339: Property '_fireEvent' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(326,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(331,22): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(339,42): error TS2339: Property '_isBound' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(428,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(434,26): error TS2339: Property '_propagateFrom' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(471,14): error TS2339: Property '_warn' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(473,10): error TS2339: Property '_attachExtraTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(480,10): error TS2339: Property '_captureStackTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(481,10): error TS2339: Property '_pushContext' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(483,18): error TS2339: Property '_execute' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(489,10): error TS2339: Property '_popContext' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(506,19): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/promise.js(530,32): error TS2322: Type 'undefined' is not assignable to type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(545,29): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(546,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(573,19): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(581,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(627,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(630,14): error TS2339: Property '_attachExtraTrace' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(636,10): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(637,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(647,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(655,10): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(658,14): error TS2339: Property '_ensurePossibleRejectionHandled' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(684,16): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(687,15): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(698,10): error TS2339: Property '_clearCancellationData' does not exist on type '{ _bitField: number | undefined; _fulfillmentHandler0: undefined; _rejectionHandler0: undefined; ...'.
node_modules/bluebird/js/release/promise.js(703,11): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(705,18): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise.js(772,27): error TS2339: Property 'firstLineError' does not exist on type '() => void'.
node_modules/bluebird/js/release/promise_array.js(11,25): error TS2304: Cannot find name 'Map'.
node_modules/bluebird/js/release/promise_array.js(71,18): error TS2339: Property '_resolveEmptyArray' does not exist on type '{ _promise: any; _values: any; _length: number | undefined; _totalResolved: number | undefined; l...'.
node_modules/bluebird/js/release/promise_array.js(109,30): error TS2554: Expected 0-1 arguments, but got 2.
node_modules/bluebird/js/release/promise_array.js(111,30): error TS2554: Expected 0 arguments, but got 1.
node_modules/bluebird/js/release/promise_array.js(142,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise_array.js(143,26): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promise_array.js(156,5): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/promisify.js(54,27): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/promisify.js(69,22): error TS2554: Expected 0-1 arguments, but got 3.
node_modules/bluebird/js/release/promisify.js(93,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'i' must be of type 'number', but here has type 'any'.
node_modules/bluebird/js/release/promisify.js(183,39): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '(substring: string, ...args: any[]) => string'.
Type 'any[]' provides no match for the signature '(substring: string, ...args: any[]): string'.
node_modules/bluebird/js/release/promisify.js(249,17): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/bluebird/js/release/promisify.js(252,24): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/bluebird/js/release/promisify.js(264,12): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/bluebird/js/release/promisify.js(270,15): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/promisify.js(285,15): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/props.js(8,12): error TS2304: Cannot find name 'Map'.
node_modules/bluebird/js/release/props.js(8,41): error TS2304: Cannot find name 'Map'.
node_modules/bluebird/js/release/props.js(47,20): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '((o: {}) => string[]) | ((o: any) => string[])' has no compatible call signatures.
node_modules/bluebird/js/release/props.js(65,10): error TS2339: Property '_values' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/release/props.js(66,32): error TS2339: Property '_totalResolved' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/release/props.js(67,31): error TS2339: Property '_length' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/release/props.js(70,37): error TS2339: Property '_values' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/release/props.js(73,34): error TS2339: Property 'length' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/release/props.js(74,40): error TS2339: Property 'length' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/release/props.js(75,26): error TS2339: Property '_values' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/release/props.js(75,57): error TS2339: Property '_values' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/release/props.js(78,14): error TS2339: Property '_resolve' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/release/props.js(102,53): error TS2339: Property 'promise' does not exist on type '{ _isMap: boolean | undefined; _init: () => void; _promiseFulfilled: (value: any, index: any) => ...'.
node_modules/bluebird/js/release/queue.js(21,25): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/queue.js(22,14): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/queue.js(22,28): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/queue.js(24,20): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/queue.js(28,18): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/queue.js(35,13): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/queue.js(46,20): error TS2538: Type 'undefined' cannot be used as an index type.
node_modules/bluebird/js/release/queue.js(48,10): error TS2538: Type 'undefined' cannot be used as an index type.
node_modules/bluebird/js/release/queue.js(49,20): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/queue.js(50,5): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/queue.js(69,27): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/queue.js(69,35): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/reduce.js(44,9): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/reduce.js(61,10): error TS2339: Property '_promise' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'.
node_modules/bluebird/js/release/reduce.js(62,10): error TS2339: Property '_values' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'.
node_modules/bluebird/js/release/reduce.js(66,52): error TS2339: Property '_cancel' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'.
node_modules/bluebird/js/release/reduce.js(67,14): error TS2339: Property '_isResolved' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'.
node_modules/bluebird/js/release/reduce.js(68,10): error TS2551: Property '_resultCancelled$' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'. Did you mean '_resultCancelled'?
node_modules/bluebird/js/release/reduce.js(69,9): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.
node_modules/bluebird/js/release/reduce.js(70,9): error TS2533: Object is possibly 'null' or 'undefined'.
node_modules/bluebird/js/release/reduce.js(78,10): error TS2339: Property '_values' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'.
node_modules/bluebird/js/release/reduce.js(133,18): error TS2339: Property 'promise' does not exist on type '{ _fn: any; _initialValue: any; _currentCancellable: null | undefined; _eachValues: any[] | null ...'.
node_modules/bluebird/js/release/schedule.js(23,31): error TS2339: Property 'standalone' does not exist on type 'Navigator'.
node_modules/bluebird/js/release/schedule.js(23,52): error TS2339: Property 'cordova' does not exist on type 'Window'.
node_modules/bluebird/js/release/settle.js(13,10): error TS2339: Property '_values' does not exist on type '{ _promiseResolved: (index: any, inspection: any) => boolean; _promiseFulfilled: (value: any, ind...'.
node_modules/bluebird/js/release/settle.js(14,32): error TS2339: Property '_totalResolved' does not exist on type '{ _promiseResolved: (index: any, inspection: any) => boolean; _promiseFulfilled: (value: any, ind...'.
node_modules/bluebird/js/release/settle.js(15,31): error TS2339: Property '_length' does not exist on type '{ _promiseResolved: (index: any, inspection: any) => boolean; _promiseFulfilled: (value: any, ind...'.
node_modules/bluebird/js/release/settle.js(16,14): error TS2339: Property '_resolve' does not exist on type '{ _promiseResolved: (index: any, inspection: any) => boolean; _promiseFulfilled: (value: any, ind...'.
node_modules/bluebird/js/release/settle.js(16,28): error TS2339: Property '_values' does not exist on type '{ _promiseResolved: (index: any, inspection: any) => boolean; _promiseFulfilled: (value: any, ind...'.
node_modules/bluebird/js/release/settle.js(37,46): error TS2339: Property 'promise' does not exist on type '{ _promiseResolved: (index: any, inspection: any) => boolean; _promiseFulfilled: (value: any, ind...'.
node_modules/bluebird/js/release/some.js(24,14): error TS2339: Property '_resolve' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(27,10): error TS2551: Property '_init$' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'. Did you mean '_init'?
node_modules/bluebird/js/release/some.js(28,40): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(29,15): error TS2339: Property '_isResolved' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(31,9): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/some.js(32,14): error TS2551: Property '_reject' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'. Did you mean '_rejected'?
node_modules/bluebird/js/release/some.js(32,47): error TS2339: Property 'length' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(56,14): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(58,18): error TS2339: Property '_resolve' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(58,32): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(60,18): error TS2339: Property '_resolve' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(60,32): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(73,14): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(73,49): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(74,21): error TS2339: Property '_cancel' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(81,9): error TS2532: Object is possibly 'undefined'.
node_modules/bluebird/js/release/some.js(83,27): error TS2339: Property 'length' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(83,46): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(84,22): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(85,29): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(89,18): error TS2551: Property '_reject' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'. Did you mean '_rejected'?
node_modules/bluebird/js/release/some.js(91,18): error TS2339: Property '_cancel' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(99,17): error TS2339: Property '_totalResolved' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(103,17): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(103,39): error TS2339: Property 'length' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(107,10): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(111,10): error TS2339: Property '_values' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(111,23): error TS2339: Property '_totalResolved' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(115,17): error TS2339: Property 'length' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/some.js(121,12): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/some.js(125,10): error TS2551: Property '_reject' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'. Did you mean '_rejected'?
node_modules/bluebird/js/release/some.js(133,23): error TS2339: Property 'promise' does not exist on type '{ _howMany: number | undefined; _unwrap: boolean | undefined; _initialized: boolean | undefined; ...'.
node_modules/bluebird/js/release/using.js(78,20): error TS2339: Property 'doDispose' does not exist on type '{ _data: any; _promise: any; _context: any; data: () => any; promise: () => any; resource: () => ...'.
node_modules/bluebird/js/release/using.js(97,23): error TS2339: Property 'data' does not exist on type '{ doDispose: (resource: any, inspection: any) => any; }'.
node_modules/bluebird/js/release/using.js(223,15): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/bluebird/js/release/util.js(97,5): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '((o: any, p: string, attributes: PropertyDescriptor & ThisType<any>) => any) | ((o: any, key: any...' has no compatible call signatures.
node_modules/bluebird/js/release/util.js(201,5): error TS7027: Unreachable code detected.
node_modules/bluebird/js/release/util.js(247,28): error TS2554: Expected 0 arguments, but got 2.
node_modules/bluebird/js/release/util.js(275,17): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '((o: any, p: string, attributes: PropertyDescriptor & ThisType<any>) => any) | ((o: any, key: any...' has no compatible call signatures.
node_modules/bluebird/js/release/util.js(275,45): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '((o: any, p: string) => PropertyDescriptor | undefined) | ((o: any, key: any) => { [x: string]: a...' has no compatible call signatures.
node_modules/bluebird/js/release/util.js(289,34): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'.
node_modules/bluebird/js/release/util.js(290,22): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'.
node_modules/bluebird/js/release/util.js(322,16): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/release/util.js(324,31): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/release/util.js(326,24): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/bluebird/js/release/util.js(363,25): error TS2304: Cannot find name 'chrome'.
node_modules/bluebird/js/release/util.js(363,51): error TS2304: Cannot find name 'chrome'.
node_modules/bluebird/js/release/util.js(364,25): error TS2304: Cannot find name 'chrome'.
Standard error:

View file

@ -0,0 +1,8 @@
Exit Code: 1
Standard output:
node_modules/clear-require/index.js(14,7): error TS2339: Property 'all' does not exist on type '(moduleId: any) => void'.
node_modules/clear-require/index.js(20,7): error TS2339: Property 'match' does not exist on type '(moduleId: any) => void'.
Standard error:

View file

@ -0,0 +1,27 @@
Exit Code: 1
Standard output:
node_modules/clone/clone.js(10,15): error TS2304: Cannot find name 'Map'.
node_modules/clone/clone.js(19,15): error TS2304: Cannot find name 'Set'.
node_modules/clone/clone.js(26,19): error TS2693: 'Promise' only refers to a type, but is being used as a value here.
node_modules/clone/clone.js(41,11): error TS1003: Identifier expected.
node_modules/clone/clone.js(41,11): error TS8024: JSDoc '@param' tag has name '', but there is no parameter with that name.
node_modules/clone/clone.js(42,11): error TS1003: Identifier expected.
node_modules/clone/clone.js(42,11): error TS8024: JSDoc '@param' tag has name '', but there is no parameter with that name.
node_modules/clone/clone.js(44,11): error TS1003: Identifier expected.
node_modules/clone/clone.js(44,11): error TS8024: JSDoc '@param' tag has name '', but there is no parameter with that name.
node_modules/clone/clone.js(46,11): error TS1003: Identifier expected.
node_modules/clone/clone.js(46,11): error TS8024: JSDoc '@param' tag has name '', but there is no parameter with that name.
node_modules/clone/clone.js(48,11): error TS1003: Identifier expected.
node_modules/clone/clone.js(48,11): error TS8024: JSDoc '@param' tag has name '', but there is no parameter with that name.
node_modules/clone/clone.js(159,16): error TS2551: Property 'getOwnPropertySymbols' does not exist on type 'ObjectConstructor'. Did you mean 'getOwnPropertyNames'?
node_modules/clone/clone.js(160,28): error TS2551: Property 'getOwnPropertySymbols' does not exist on type 'ObjectConstructor'. Did you mean 'getOwnPropertyNames'?
node_modules/clone/clone.js(161,16): error TS2403: Subsequent variable declarations must have the same type. Variable 'i' must be of type 'string', but here has type 'number'.
node_modules/clone/clone.js(161,43): error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
node_modules/clone/clone.js(170,14): error TS2532: Object is possibly 'undefined'.
node_modules/clone/clone.js(180,16): error TS2403: Subsequent variable declarations must have the same type. Variable 'i' must be of type 'string', but here has type 'number'.
node_modules/clone/clone.js(180,23): error TS2365: Operator '<' cannot be applied to types 'string' and 'number'.
node_modules/clone/clone.js(180,52): error TS2356: An arithmetic operand must be of type 'any', 'number' or an enum type.
Standard error:

View file

@ -0,0 +1,7 @@
Exit Code: 1
Standard output:
node_modules/content-disposition/index.js(13,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
Standard error:

View file

@ -0,0 +1,107 @@
Exit Code: 1
Standard output:
node_modules/debug/src/browser.js(7,1): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"' because it is not a variable.
node_modules/debug/src/browser.js(7,11): error TS2309: An export assignment cannot be used in a module with other exported elements.
node_modules/debug/src/browser.js(8,9): error TS2339: Property 'log' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"'.
node_modules/debug/src/browser.js(9,9): error TS2339: Property 'formatArgs' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"'.
node_modules/debug/src/browser.js(10,9): error TS2339: Property 'save' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"'.
node_modules/debug/src/browser.js(11,9): error TS2339: Property 'load' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"'.
node_modules/debug/src/browser.js(12,9): error TS2339: Property 'useColors' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"'.
node_modules/debug/src/browser.js(13,9): error TS2339: Property 'storage' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"'.
node_modules/debug/src/browser.js(13,41): error TS2304: Cannot find name 'chrome'.
node_modules/debug/src/browser.js(14,41): error TS2304: Cannot find name 'chrome'.
node_modules/debug/src/browser.js(15,21): error TS2304: Cannot find name 'chrome'.
node_modules/debug/src/browser.js(22,9): error TS2339: Property 'colors' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"'.
node_modules/debug/src/browser.js(48,47): error TS2339: Property 'process' does not exist on type 'Window'.
node_modules/debug/src/browser.js(48,65): error TS2339: Property 'process' does not exist on type 'Window'.
node_modules/debug/src/browser.js(59,139): error TS2551: Property 'WebkitAppearance' does not exist on type 'CSSStyleDeclaration'. Did you mean 'webkitAppearance'?
node_modules/debug/src/browser.js(61,73): error TS2339: Property 'firebug' does not exist on type 'Console'.
node_modules/debug/src/browser.js(73,9): error TS2339: Property 'formatters' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"'.
node_modules/debug/src/browser.js(96,21): error TS2339: Property 'humanize' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"'.
node_modules/debug/src/browser.js(146,15): error TS2339: Property 'storage' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"'.
node_modules/debug/src/browser.js(148,15): error TS2339: Property 'storage' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"'.
node_modules/debug/src/browser.js(163,17): error TS2339: Property 'storage' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"'.
node_modules/debug/src/browser.js(178,9): error TS2339: Property 'enable' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/browser"'.
node_modules/debug/src/browser.js(187,13): error TS2304: Cannot find name 'LocalStorage'.
node_modules/debug/src/debug.js(9,1): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"' because it is not a variable.
node_modules/debug/src/debug.js(9,11): error TS2309: An export assignment cannot be used in a module with other exported elements.
node_modules/debug/src/debug.js(9,40): error TS2339: Property 'debug' does not exist on type '(namespace: string) => Function'.
node_modules/debug/src/debug.js(10,9): error TS2339: Property 'coerce' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(11,9): error TS2339: Property 'disable' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(12,9): error TS2339: Property 'enable' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(13,9): error TS2339: Property 'enabled' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(14,9): error TS2339: Property 'humanize' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(19,9): error TS2339: Property 'instances' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(25,9): error TS2339: Property 'names' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(26,9): error TS2339: Property 'skips' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(34,9): error TS2339: Property 'formatters' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(46,13): error TS2407: The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter.
node_modules/debug/src/debug.js(47,57): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
node_modules/debug/src/debug.js(51,18): error TS2339: Property 'colors' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(51,50): error TS2339: Property 'colors' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(75,10): error TS2339: Property 'diff' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: any; useColors: any; color: number; destroy...'.
node_modules/debug/src/debug.js(76,10): error TS2339: Property 'prev' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: any; useColors: any; color: number; destroy...'.
node_modules/debug/src/debug.js(77,10): error TS2339: Property 'curr' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: any; useColors: any; color: number; destroy...'.
node_modules/debug/src/debug.js(86,23): error TS2339: Property 'coerce' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(99,31): error TS2339: Property 'formatters' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(112,13): error TS2339: Property 'formatArgs' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(114,23): error TS2339: Property 'log' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: any; useColors: any; color: number; destroy...'.
node_modules/debug/src/debug.js(114,38): error TS2339: Property 'log' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(119,27): error TS2339: Property 'enabled' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(120,29): error TS2339: Property 'useColors' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(125,37): error TS2339: Property 'init' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(126,13): error TS2339: Property 'init' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(129,11): error TS2339: Property 'instances' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(135,23): error TS2339: Property 'instances' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(137,13): error TS2339: Property 'instances' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(153,11): error TS2339: Property 'save' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(155,11): error TS2339: Property 'names' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(156,11): error TS2339: Property 'skips' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(166,15): error TS2339: Property 'skips' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(168,15): error TS2339: Property 'names' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(172,27): error TS2339: Property 'instances' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(173,28): error TS2339: Property 'instances' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(174,32): error TS2339: Property 'enabled' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(185,11): error TS2339: Property 'enable' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(201,29): error TS2339: Property 'skips' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(202,17): error TS2339: Property 'skips' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(206,29): error TS2339: Property 'names' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(207,17): error TS2339: Property 'names' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/debug"'.
node_modules/debug/src/debug.js(217,12): error TS2304: Cannot find name 'Mixed'.
node_modules/debug/src/debug.js(218,13): error TS2304: Cannot find name 'Mixed'.
node_modules/debug/src/index.js(6,47): error TS2339: Property 'type' does not exist on type 'Process'.
node_modules/debug/src/node.js(14,1): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"' because it is not a variable.
node_modules/debug/src/node.js(14,11): error TS2309: An export assignment cannot be used in a module with other exported elements.
node_modules/debug/src/node.js(15,9): error TS2339: Property 'init' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(16,9): error TS2339: Property 'log' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(17,9): error TS2339: Property 'formatArgs' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(18,9): error TS2339: Property 'save' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(19,9): error TS2339: Property 'load' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(20,9): error TS2339: Property 'useColors' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(26,9): error TS2339: Property 'colors' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(31,13): error TS2339: Property 'colors' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(49,9): error TS2339: Property 'inspectOpts' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(60,39): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
node_modules/debug/src/node.js(60,45): error TS2322: Type 'true' is not assignable to type 'string | undefined'.
node_modules/debug/src/node.js(61,46): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
node_modules/debug/src/node.js(61,52): error TS2322: Type 'false' is not assignable to type 'string | undefined'.
node_modules/debug/src/node.js(62,28): error TS2322: Type 'null' is not assignable to type 'string | undefined'.
node_modules/debug/src/node.js(63,8): error TS2322: Type 'number' is not assignable to type 'string | undefined'.
node_modules/debug/src/node.js(74,30): error TS2339: Property 'inspectOpts' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(75,23): error TS2339: Property 'inspectOpts' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(76,33): error TS2339: Property 'fd' does not exist on type 'WriteStream'.
node_modules/debug/src/node.js(83,9): error TS2339: Property 'formatters' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(95,9): error TS2339: Property 'formatters' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(116,42): error TS2339: Property 'humanize' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(123,15): error TS2339: Property 'inspectOpts' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(163,3): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.
node_modules/debug/src/node.js(176,34): error TS2339: Property 'inspectOpts' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(178,42): error TS2339: Property 'inspectOpts' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
node_modules/debug/src/node.js(186,9): error TS2339: Property 'enable' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/debug/node_modules/debug/src/node"'.
Standard error:

View file

@ -0,0 +1,94 @@
Exit Code: 1
Standard output:
node_modules/enhanced-resolve/lib/AliasFieldPlugin.js(34,30): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/AliasFieldPlugin.js(39,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/AliasPlugin.js(40,26): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/AppendPlugin.js(17,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(10,22): error TS2304: Cannot find name 'Map'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(11,19): error TS2304: Cannot find name 'Map'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(14,21): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(14,25): error TS2304: Cannot find name 'Set'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(14,36): error TS2304: Cannot find name 'Set'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(14,47): error TS2304: Cannot find name 'Set'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(14,58): error TS2304: Cannot find name 'Set'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(14,69): error TS2304: Cannot find name 'Set'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(14,80): error TS2304: Cannot find name 'Set'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(14,91): error TS2304: Cannot find name 'Set'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(14,102): error TS2304: Cannot find name 'Set'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(14,113): error TS2304: Cannot find name 'Set'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(16,22): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(16,26): error TS2304: Cannot find name 'Set'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(37,28): error TS2339: Property 'size' does not exist on type 'never'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(38,14): error TS2339: Property 'add' does not exist on type 'never'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(39,28): error TS2339: Property 'size' does not exist on type 'never'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(51,28): error TS2339: Property 'size' does not exist on type 'never'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(52,14): error TS2339: Property 'add' does not exist on type 'never'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(53,28): error TS2339: Property 'size' does not exist on type 'never'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(109,19): error TS2532: Object is possibly 'undefined'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(112,17): error TS2532: Object is possibly 'undefined'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(113,3): error TS2532: Object is possibly 'undefined'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(114,23): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'never'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(116,18): error TS2345: Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'.
Type 'null' is not assignable to type 'number | undefined'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(129,18): error TS2345: Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'.
Type 'null' is not assignable to type 'number | undefined'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(147,18): error TS2345: Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'.
Type 'null' is not assignable to type 'number | undefined'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(151,11): error TS2339: Property 'clear' does not exist on type 'never'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(176,19): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(179,23): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(182,22): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(185,26): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(188,23): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(191,27): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(209,4): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(220,4): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(224,23): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(227,27): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.
node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js(7,40): error TS2339: Property 'basename' does not exist on type '(path: any) => { [x: string]: any; paths: any[]; seqments: any[]; }'.
node_modules/enhanced-resolve/lib/CloneBasenamePlugin.js(20,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/ConcordExtensionsPlugin.js(26,24): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/ConcordMainPlugin.js(26,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/ConcordModulesPlugin.js(29,30): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/ConcordModulesPlugin.js(34,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js(32,24): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/FileKindPlugin.js(17,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/JoinRequestPlugin.js(16,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/MainFieldPlugin.js(44,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/ModuleAppendPlugin.js(31,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/ModuleKindPlugin.js(17,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/ModulesInHierachicDirectoriesPlugin.js(30,26): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/ModulesInRootPlugin.js(17,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/ParsePlugin.js(17,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/Resolver.js(19,26): error TS2304: Cannot find name 'Map'.
node_modules/enhanced-resolve/lib/Resolver.js(45,3): error TS2346: Call target does not contain any signatures.
node_modules/enhanced-resolve/lib/Resolver.js(160,29): error TS2304: Cannot find name 'Set'.
node_modules/enhanced-resolve/lib/Resolver.js(178,11): error TS2339: Property 'details' does not exist on type 'Error'.
node_modules/enhanced-resolve/lib/Resolver.js(179,11): error TS2339: Property 'missing' does not exist on type 'Error'.
node_modules/enhanced-resolve/lib/Resolver.js(179,27): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'.
node_modules/enhanced-resolve/lib/Resolver.js(199,92): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'.
node_modules/enhanced-resolve/lib/Resolver.js(200,82): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'.
node_modules/enhanced-resolve/lib/Resolver.js(209,19): error TS2304: Cannot find name 'Set'.
node_modules/enhanced-resolve/lib/Resolver.js(212,83): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'.
node_modules/enhanced-resolve/lib/Resolver.js(213,20): error TS2339: Property 'recursion' does not exist on type 'Error'.
node_modules/enhanced-resolve/lib/Resolver.js(219,19): error TS2304: Cannot find name 'Set'.
node_modules/enhanced-resolve/lib/Resolver.js(279,43): error TS2304: Cannot find name 'Map'.
node_modules/enhanced-resolve/lib/ResolverFactory.js(140,17): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/ResultPlugin.js(14,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/SymlinkPlugin.js(25,16): error TS2339: Property 'withIndex' does not exist on type '(array: any, iterator: any, callback: any) => any'.
node_modules/enhanced-resolve/lib/SymlinkPlugin.js(42,24): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/UseFilePlugin.js(18,23): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/concord.js(75,30): error TS2531: Object is possibly 'null'.
node_modules/enhanced-resolve/lib/concord.js(76,17): error TS2531: Object is possibly 'null'.
node_modules/enhanced-resolve/lib/concord.js(175,18): error TS2532: Object is possibly 'undefined'.
node_modules/enhanced-resolve/lib/createInnerCallback.js(16,20): error TS2339: Property 'stack' does not exist on type '(...args: any[]) => any'.
node_modules/enhanced-resolve/lib/createInnerCallback.js(17,20): error TS2339: Property 'missing' does not exist on type '(...args: any[]) => any'.
node_modules/enhanced-resolve/lib/forEachBail.js(7,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
node_modules/enhanced-resolve/lib/getPaths.js(7,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
node_modules/enhanced-resolve/lib/node.js(24,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
node_modules/enhanced-resolve/lib/node.js(123,19): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/enhanced-resolve/lib/node.js(143,19): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
Standard error:

View file

@ -0,0 +1,31 @@
Exit Code: 1
Standard output:
node_modules/follow-redirects/index.js(62,5): error TS2532: Object is possibly 'undefined'.
node_modules/follow-redirects/index.js(62,35): error TS2345: Argument of type '{ data: any; encoding: any; }' is not assignable to parameter of type 'never'.
node_modules/follow-redirects/index.js(63,10): error TS2339: Property '_currentRequest' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(66,10): error TS2339: Property 'emit' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(67,10): error TS2339: Property 'abort' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(73,29): error TS2339: Property '_currentRequest' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(87,8): error TS2339: Property '_currentRequest' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(93,8): error TS2339: Property '_currentRequest' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(127,22): error TS2339: Property '_currentRequest' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(129,8): error TS2339: Property '_currentUrl' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(142,12): error TS2339: Property '_isRedirect' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(146,11): error TS2532: Object is possibly 'undefined'.
node_modules/follow-redirects/index.js(147,22): error TS2532: Object is possibly 'undefined'.
node_modules/follow-redirects/index.js(148,23): error TS2532: Object is possibly 'undefined'.
node_modules/follow-redirects/index.js(148,36): error TS2532: Object is possibly 'undefined'.
node_modules/follow-redirects/index.js(170,11): error TS2532: Object is possibly 'undefined'.
node_modules/follow-redirects/index.js(171,12): error TS2339: Property 'emit' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(196,15): error TS2339: Property '_isRedirect' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(205,40): error TS2339: Property '_currentUrl' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(207,12): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/follow-redirects/index.js(208,10): error TS2339: Property '_isRedirect' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(213,33): error TS2339: Property '_currentUrl' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(214,10): error TS2339: Property 'emit' does not exist on type '{ _options: any; _redirectCount: number | undefined; _requestBodyLength: number | undefined; _req...'.
node_modules/follow-redirects/index.js(243,26): error TS2339: Property 'assign' does not exist on type 'ObjectConstructor'.
node_modules/follow-redirects/index.js(266,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
Standard error:

View file

@ -0,0 +1,29 @@
Exit Code: 1
Standard output:
node_modules/graceful-fs/fs.js(14,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'copy' must be of type '{ [x: string]: any; __proto__: any; }', but here has type 'any'.
node_modules/graceful-fs/fs.js(17,38): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType<any>'.
Type 'undefined' is not assignable to type 'PropertyDescriptor & ThisType<any>'.
Type 'undefined' is not assignable to type 'PropertyDescriptor'.
node_modules/graceful-fs/graceful-fs.js(12,3): error TS2322: Type '(msg: string, ...param: any[]) => void' is not assignable to type '() => void'.
node_modules/graceful-fs/graceful-fs.js(22,5): error TS2554: Expected 0 arguments, but got 1.
node_modules/graceful-fs/graceful-fs.js(27,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
node_modules/graceful-fs/graceful-fs.js(37,1): error TS2322: Type '(fd: any, cb: any) => any' is not assignable to type 'typeof close'.
Property '__promisify__' is missing in type '(fd: any, cb: any) => any'.
node_modules/graceful-fs/graceful-fs.js(161,5): error TS2539: Cannot assign to 'ReadStream' because it is not a variable.
node_modules/graceful-fs/graceful-fs.js(162,5): error TS2539: Cannot assign to 'WriteStream' because it is not a variable.
node_modules/graceful-fs/graceful-fs.js(220,12): error TS2350: Only a void function can be called with the 'new' keyword.
node_modules/graceful-fs/graceful-fs.js(224,12): error TS2350: Only a void function can be called with the 'new' keyword.
node_modules/graceful-fs/graceful-fs.js(252,3): error TS2554: Expected 0 arguments, but got 3.
node_modules/graceful-fs/graceful-fs.js(259,5): error TS2554: Expected 0 arguments, but got 3.
node_modules/graceful-fs/polyfills.js(7,24): error TS2339: Property 'env' does not exist on type 'typeof process'.
node_modules/graceful-fs/polyfills.js(7,60): error TS2339: Property 'platform' does not exist on type 'typeof process'.
node_modules/graceful-fs/polyfills.js(32,15): error TS2339: Property 'version' does not exist on type 'typeof process'.
node_modules/graceful-fs/polyfills.js(73,23): error TS2339: Property 'nextTick' does not exist on type 'typeof process'.
node_modules/graceful-fs/polyfills.js(79,23): error TS2339: Property 'nextTick' does not exist on type 'typeof process'.
node_modules/graceful-fs/polyfills.js(229,62): error TS2339: Property 'nextTick' does not exist on type 'typeof process'.
node_modules/graceful-fs/polyfills.js(323,26): error TS2339: Property 'getuid' does not exist on type 'typeof process'.
node_modules/graceful-fs/polyfills.js(323,44): error TS2339: Property 'getuid' does not exist on type 'typeof process'.
Standard error:

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,49 @@
Exit Code: 1
Standard output:
node_modules/minimatch/minimatch.js(2,11): error TS2339: Property 'Minimatch' does not exist on type 'typeof minimatch'.
node_modules/minimatch/minimatch.js(9,26): error TS2339: Property 'GLOBSTAR' does not exist on type 'typeof minimatch'.
node_modules/minimatch/minimatch.js(9,47): error TS2339: Property 'GLOBSTAR' does not exist on type 'typeof Minimatch'.
node_modules/minimatch/minimatch.js(50,11): error TS2339: Property 'filter' does not exist on type 'typeof minimatch'.
node_modules/minimatch/minimatch.js(54,12): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'typeof minimatch' has no compatible call signatures.
node_modules/minimatch/minimatch.js(71,1): error TS2300: Duplicate identifier 'minimatch'.
node_modules/minimatch/minimatch.js(77,17): error TS2339: Property 'minimatch' does not exist on type 'typeof minimatch'.
node_modules/minimatch/minimatch.js(81,21): error TS2339: Property 'Minimatch' does not exist on type 'typeof minimatch'.
node_modules/minimatch/minimatch.js(87,1): error TS2300: Duplicate identifier 'Minimatch'.
node_modules/minimatch/minimatch.js(89,34): error TS2339: Property 'Minimatch' does not exist on type 'typeof minimatch | { (p: any, pattern: any, options: any): any; Minimatch: (pattern: any, options...'.
Property 'Minimatch' does not exist on type 'typeof minimatch'.
node_modules/minimatch/minimatch.js(92,10): error TS2300: Duplicate identifier 'minimatch'.
node_modules/minimatch/minimatch.js(107,10): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/minimatch/minimatch.js(110,10): error TS2300: Duplicate identifier 'Minimatch'.
node_modules/minimatch/minimatch.js(111,25): error TS2359: The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type.
node_modules/minimatch/minimatch.js(112,12): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/minimatch/minimatch.js(139,11): error TS2339: Property 'prototype' does not exist on type 'typeof Minimatch'.
node_modules/minimatch/minimatch.js(141,11): error TS2339: Property 'prototype' does not exist on type 'typeof Minimatch'.
node_modules/minimatch/minimatch.js(197,11): error TS2339: Property 'prototype' does not exist on type 'typeof Minimatch'.
node_modules/minimatch/minimatch.js(231,11): error TS2339: Property 'prototype' does not exist on type 'typeof Minimatch'.
node_modules/minimatch/minimatch.js(235,25): error TS2359: The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type.
node_modules/minimatch/minimatch.js(269,11): error TS2339: Property 'prototype' does not exist on type 'typeof Minimatch'.
node_modules/minimatch/minimatch.js(410,15): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(411,13): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(414,9): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(414,12): error TS2339: Property 'reEnd' does not exist on type '{ type: any; start: number; reStart: number; open: any; close: any; }'.
node_modules/minimatch/minimatch.js(572,32): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(573,28): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(573,40): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(573,43): error TS2339: Property 'reEnd' does not exist on type '{ type: any; start: number; reStart: number; open: any; close: any; }'.
node_modules/minimatch/minimatch.js(574,27): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(574,30): error TS2339: Property 'reEnd' does not exist on type '{ type: any; start: number; reStart: number; open: any; close: any; }'.
node_modules/minimatch/minimatch.js(574,41): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(574,44): error TS2339: Property 'reEnd' does not exist on type '{ type: any; start: number; reStart: number; open: any; close: any; }'.
node_modules/minimatch/minimatch.js(575,28): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(575,31): error TS2339: Property 'reEnd' does not exist on type '{ type: any; start: number; reStart: number; open: any; close: any; }'.
node_modules/minimatch/minimatch.js(631,10): error TS2339: Property '_glob' does not exist on type 'RegExp'.
node_modules/minimatch/minimatch.js(632,10): error TS2339: Property '_src' does not exist on type 'RegExp'.
node_modules/minimatch/minimatch.js(638,10): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/minimatch/minimatch.js(641,11): error TS2339: Property 'prototype' does not exist on type 'typeof Minimatch'.
node_modules/minimatch/minimatch.js(689,12): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/minimatch/minimatch.js(699,11): error TS2339: Property 'prototype' does not exist on type 'typeof Minimatch'.
node_modules/minimatch/minimatch.js(760,11): error TS2339: Property 'prototype' does not exist on type 'typeof Minimatch'.
Standard error:

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,103 @@
Exit Code: 1
Standard output:
node_modules/npmlog/log.js(5,11): error TS2539: Cannot assign to '"/home/nathansa/ts/tests/cases/user/npmlog/node_modules/npmlog/log"' because it is not a variable.
node_modules/npmlog/log.js(5,21): error TS2309: An export assignment cannot be used in a module with other exported elements.
node_modules/npmlog/log.js(25,5): error TS2339: Property 'useColor' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(29,5): error TS2339: Property 'enableColor' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(31,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(33,5): error TS2339: Property 'disableColor' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(35,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(39,5): error TS2339: Property 'level' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(41,5): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(43,25): error TS2339: Property 'useColor' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(53,5): error TS2339: Property 'tracker' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(57,5): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(57,27): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(61,5): error TS2339: Property 'enableUnicode' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(63,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(63,39): error TS2339: Property 'useColor' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(66,5): error TS2339: Property 'disableUnicode' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(68,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(68,39): error TS2339: Property 'useColor' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(71,5): error TS2339: Property 'setGaugeThemeset' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(72,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(75,5): error TS2339: Property 'setGaugeTemplate' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(76,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(79,5): error TS2339: Property 'enableProgress' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(80,12): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(81,8): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(82,8): error TS2339: Property 'tracker' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(82,34): error TS2339: Property 'showProgress' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(83,12): error TS2339: Property '_pause' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(84,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(87,5): error TS2339: Property 'disableProgress' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(88,13): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(89,8): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(90,8): error TS2339: Property 'tracker' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(90,46): error TS2339: Property 'showProgress' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(91,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(122,47): error TS2339: Property 'tracker' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(122,69): error TS2339: Property 'tracker' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(125,5): error TS2339: Property 'clearProgress' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(126,13): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(127,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(130,5): error TS2339: Property 'showProgress' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(134,18): error TS2339: Property 'record' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(134,29): error TS2339: Property 'record' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(137,20): error TS2339: Property 'disp' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(138,42): error TS2339: Property 'style' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(148,5): error TS2339: Property 'pause' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(149,8): error TS2339: Property '_paused' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(150,12): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(150,34): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(153,5): error TS2339: Property 'resume' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(154,13): error TS2339: Property '_paused' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(155,8): error TS2339: Property '_paused' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(157,16): error TS2339: Property '_buffer' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(158,8): error TS2339: Property '_buffer' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(162,12): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(162,34): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(165,5): error TS2339: Property '_buffer' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(168,5): error TS2339: Property 'record' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(169,5): error TS2339: Property 'maxRecordSize' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(170,5): error TS2339: Property 'log' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(217,5): error TS2339: Property 'emitLog' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(218,12): error TS2339: Property '_paused' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(219,10): error TS2339: Property '_buffer' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(222,12): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(222,34): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(223,16): error TS2339: Property 'levels' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(225,16): error TS2339: Property 'levels' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(225,28): error TS2339: Property 'level' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(230,18): error TS2339: Property 'disp' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(230,46): error TS2339: Property 'disp' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(231,8): error TS2339: Property 'clearProgress' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(237,26): error TS2339: Property 'style' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(243,8): error TS2339: Property 'showProgress' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(246,5): error TS2339: Property '_format' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(250,12): error TS2339: Property 'useColor' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(262,12): error TS2339: Property 'useColor' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(268,5): error TS2339: Property 'write' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(271,21): error TS2339: Property '_format' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(274,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(277,8): error TS2339: Property 'levels' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(278,8): error TS2339: Property 'style' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(289,8): error TS2339: Property 'disp' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(292,5): error TS2339: Property 'prefixStyle' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(293,5): error TS2339: Property 'headingStyle' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(295,5): error TS2339: Property 'style' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(296,5): error TS2339: Property 'levels' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(297,5): error TS2339: Property 'disp' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(298,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(299,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(300,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(301,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(302,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(303,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(304,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(305,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'.
node_modules/npmlog/log.js(306,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'.
Standard error:

View file

@ -0,0 +1,204 @@
Exit Code: 1
Standard output:
node_modules/uglify-js/lib/ast.js(210,23): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/ast.js(329,33): error TS2339: Property 'transform' does not exist on type 'string'.
node_modules/uglify-js/lib/ast.js(858,5): error TS2322: Type '{ [x: string]: any; _visit: (node: any, descend: any) => any; parent: (n: any) => any; push: (nod...' is not assignable to type 'TreeWalker'.
Object literal may only specify known properties, but '_visit' does not exist in type 'TreeWalker'. Did you mean to write 'visit'?
node_modules/uglify-js/lib/compress.js(186,27): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(474,26): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(745,18): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(988,38): error TS2339: Property 'parent' does not exist on type '{ before: any; after: any; }'.
node_modules/uglify-js/lib/compress.js(1097,53): error TS2339: Property 'parent' does not exist on type '{ before: any; after: any; }'.
node_modules/uglify-js/lib/compress.js(1137,112): error TS2532: Object is possibly 'undefined'.
node_modules/uglify-js/lib/compress.js(1138,29): error TS2532: Object is possibly 'undefined'.
node_modules/uglify-js/lib/compress.js(1147,87): error TS2322: Type 'false' is not assignable to type 'number'.
node_modules/uglify-js/lib/compress.js(1155,29): error TS2322: Type 'false' is not assignable to type 'never'.
node_modules/uglify-js/lib/compress.js(1208,38): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(1301,38): error TS2339: Property 'parent' does not exist on type '{ before: any; after: any; }'.
node_modules/uglify-js/lib/compress.js(1393,27): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(1407,26): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(1821,44): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(1999,19): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(2237,27): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(2735,13): error TS2322: Type 'string[]' is not assignable to type '() => boolean'.
Type 'string[]' provides no match for the signature '(): boolean'.
node_modules/uglify-js/lib/compress.js(2737,13): error TS2322: Type 'string[]' is not assignable to type '() => boolean'.
node_modules/uglify-js/lib/compress.js(2739,13): error TS2322: Type 'string[]' is not assignable to type '() => boolean'.
node_modules/uglify-js/lib/compress.js(2741,13): error TS2322: Type 'string[]' is not assignable to type '() => boolean'.
node_modules/uglify-js/lib/compress.js(2743,13): error TS2322: Type 'string[]' is not assignable to type '() => boolean'.
node_modules/uglify-js/lib/compress.js(2745,13): error TS2322: Type 'string[]' is not assignable to type '() => boolean'.
node_modules/uglify-js/lib/compress.js(2747,16): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(2974,23): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(2987,33): error TS2322: Type '"f"' is not assignable to type 'boolean'.
node_modules/uglify-js/lib/compress.js(3122,18): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(3132,33): error TS2339: Property 'add' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3136,32): error TS2339: Property 'add' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3142,40): error TS2339: Property 'add' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3151,41): error TS2339: Property 'add' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3168,14): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(3170,40): error TS2339: Property 'get' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3178,33): error TS2339: Property 'parent' does not exist on type '{ before: any; after: any; }'.
node_modules/uglify-js/lib/compress.js(3252,63): error TS2339: Property 'get' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3420,23): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(3437,36): error TS2339: Property 'parent' does not exist on type '{ before: any; after: any; }'.
node_modules/uglify-js/lib/compress.js(3443,38): error TS2339: Property 'set' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3447,40): error TS2339: Property 'parent' does not exist on type '{ before: any; after: any; }'.
node_modules/uglify-js/lib/compress.js(3472,22): error TS2339: Property 'each' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3476,30): error TS2339: Property 'del' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3481,30): error TS2339: Property 'set' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3492,41): error TS2339: Property 'has' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3494,48): error TS2339: Property 'get' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3506,41): error TS2339: Property 'has' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3508,48): error TS2339: Property 'get' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3591,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'defs' must be of type 'typeof Dictionary', but here has type 'any'.
node_modules/uglify-js/lib/compress.js(3593,36): error TS2339: Property 'get' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3610,22): error TS2339: Property 'set' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/compress.js(3630,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead.
node_modules/uglify-js/lib/compress.js(3655,30): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(3806,22): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(4070,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'.
node_modules/uglify-js/lib/compress.js(4154,22): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(4482,30): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(4489,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ [x: string]: any; get: () => string; toString: () => string; indent: () => void; indentation: (...'.
node_modules/uglify-js/lib/compress.js(4493,36): error TS2532: Object is possibly 'undefined'.
node_modules/uglify-js/lib/compress.js(4498,41): error TS2339: Property 'get' does not exist on type 'string'.
node_modules/uglify-js/lib/compress.js(4968,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned.
node_modules/uglify-js/lib/compress.js(5424,32): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(5484,24): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(5556,24): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(5562,26): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/compress.js(5917,43): error TS2454: Variable 'property' is used before being assigned.
node_modules/uglify-js/lib/compress.js(5931,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
node_modules/uglify-js/lib/compress.js(5934,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'.
node_modules/uglify-js/lib/compress.js(5941,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
node_modules/uglify-js/lib/compress.js(5994,19): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/minify.js(148,75): error TS2339: Property 'compress' does not exist on type '{ options: any; pure_funcs: any; top_retain: any; toplevel: { [x: string]: any; funcs: any; vars:...'.
node_modules/uglify-js/lib/output.js(213,29): error TS2339: Property 'token' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(214,29): error TS2339: Property 'line' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(214,43): error TS2339: Property 'col' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(215,29): error TS2339: Property 'token' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(215,49): error TS2339: Property 'token' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(216,30): error TS2339: Property 'name' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(216,46): error TS2339: Property 'token' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(216,77): error TS2339: Property 'token' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(216,99): error TS2339: Property 'name' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(220,35): error TS2339: Property 'token' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(221,35): error TS2339: Property 'token' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(222,34): error TS2339: Property 'token' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(223,36): error TS2339: Property 'line' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(224,35): error TS2339: Property 'col' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(225,35): error TS2339: Property 'name' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(240,33): error TS2339: Property 'line' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(241,33): error TS2339: Property 'col' does not exist on type 'never'.
node_modules/uglify-js/lib/output.js(332,27): error TS2345: Argument of type '{ token: any; name: any; line: number; col: number; }' is not assignable to parameter of type 'never'.
node_modules/uglify-js/lib/output.js(471,22): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/output.js(765,23): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/output.js(1176,29): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/output.js(1246,37): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'String' has no compatible call signatures.
node_modules/uglify-js/lib/output.js(1358,20): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'String' has no compatible call signatures.
node_modules/uglify-js/lib/parse.js(53,1): error TS2322: Type 'Function' is not assignable to type 'string'.
node_modules/uglify-js/lib/parse.js(54,1): error TS2322: Type 'Function' is not assignable to type 'string'.
node_modules/uglify-js/lib/parse.js(55,1): error TS2322: Type 'Function' is not assignable to type 'string'.
node_modules/uglify-js/lib/parse.js(56,1): error TS2322: Type 'Function' is not assignable to type 'string'.
node_modules/uglify-js/lib/parse.js(168,13): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'String' has no compatible call signatures.
node_modules/uglify-js/lib/parse.js(296,50): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'String' has no compatible call signatures.
node_modules/uglify-js/lib/parse.js(365,20): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
Type 'undefined' is not assignable to type 'number'.
node_modules/uglify-js/lib/parse.js(447,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
node_modules/uglify-js/lib/parse.js(458,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
node_modules/uglify-js/lib/parse.js(479,13): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'String' has no compatible call signatures.
node_modules/uglify-js/lib/parse.js(509,20): error TS2339: Property 'raw_source' does not exist on type 'RegExp'.
node_modules/uglify-js/lib/parse.js(553,16): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'String' has no compatible call signatures.
node_modules/uglify-js/lib/parse.js(554,16): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'String' has no compatible call signatures.
node_modules/uglify-js/lib/parse.js(620,57): error TS2339: Property 'push' does not exist on type 'never'.
node_modules/uglify-js/lib/parse.js(630,32): error TS2345: Argument of type 'never[]' is not assignable to parameter of type 'never'.
node_modules/uglify-js/lib/parse.js(636,40): error TS2339: Property 'length' does not exist on type 'never'.
node_modules/uglify-js/lib/parse.js(740,13): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(772,52): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(772,74): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(814,31): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(820,17): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(824,21): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(829,43): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(848,21): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(867,21): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(980,23): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
node_modules/uglify-js/lib/parse.js(1154,17): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1241,17): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1246,65): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1252,25): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1253,25): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1257,65): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1260,21): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1283,21): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1287,27): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1288,60): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1289,17): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1290,17): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1291,33): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1292,35): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1294,39): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1295,25): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1298,17): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1302,17): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1303,54): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1304,17): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1322,32): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1363,24): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1393,25): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1405,17): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1407,18): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'String' has no compatible call signatures.
node_modules/uglify-js/lib/parse.js(1407,27): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1414,20): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1422,13): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1424,16): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1428,20): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1505,44): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1514,48): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1540,35): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/parse.js(1585,52): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/propmangle.js(61,18): error TS2339: Property 'prototype' does not exist on type 'ObjectConstructor | FunctionConstructor | StringConstructor | BooleanConstructor | NumberConstruc...'.
Property 'prototype' does not exist on type 'Math'.
node_modules/uglify-js/lib/propmangle.js(62,45): error TS2339: Property 'prototype' does not exist on type 'ObjectConstructor | FunctionConstructor | StringConstructor | BooleanConstructor | NumberConstruc...'.
Property 'prototype' does not exist on type 'Math'.
node_modules/uglify-js/lib/propmangle.js(75,14): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/propmangle.js(85,15): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/propmangle.js(139,14): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/scope.js(110,14): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/scope.js(114,13): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/scope.js(134,24): error TS2339: Property 'has' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/scope.js(137,20): error TS2339: Property 'set' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/scope.js(139,20): error TS2339: Property 'del' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/scope.js(143,42): error TS2339: Property 'parent_scope' does not exist on type 'never'.
node_modules/uglify-js/lib/scope.js(144,19): error TS2339: Property 'uses_with' does not exist on type 'never'.
node_modules/uglify-js/lib/scope.js(169,27): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/scope.js(177,13): error TS2531: Object is possibly 'null'.
node_modules/uglify-js/lib/scope.js(180,30): error TS2339: Property 'get' does not exist on type 'typeof Dictionary'.
node_modules/uglify-js/lib/scope.js(193,14): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/scope.js(230,19): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/scope.js(435,14): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/scope.js(488,15): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/scope.js(507,12): error TS2339: Property 'reset' does not exist on type '(num: any) => string'.
node_modules/uglify-js/lib/scope.js(508,12): error TS2339: Property 'sort' does not exist on type '(num: any) => string'.
node_modules/uglify-js/lib/scope.js(513,15): error TS2554: Expected 0 arguments, but got 1.
node_modules/uglify-js/lib/scope.js(548,12): error TS2339: Property 'reset' does not exist on type '(num: any) => string'.
node_modules/uglify-js/lib/scope.js(553,24): error TS2339: Property 'consider' does not exist on type '(num: any) => string'.
node_modules/uglify-js/lib/scope.js(556,28): error TS2339: Property 'consider' does not exist on type '(num: any) => string'.
node_modules/uglify-js/lib/scope.js(562,16): error TS2339: Property 'consider' does not exist on type '(num: any) => string'.
node_modules/uglify-js/lib/scope.js(566,12): error TS2339: Property 'sort' does not exist on type '(num: any) => string'.
node_modules/uglify-js/lib/scope.js(570,20): error TS2339: Property 'consider' does not exist on type '(num: any) => string'.
node_modules/uglify-js/lib/scope.js(593,12): error TS2339: Property 'consider' does not exist on type '(num: any) => string'.
node_modules/uglify-js/lib/scope.js(601,12): error TS2339: Property 'sort' does not exist on type '(num: any) => string'.
node_modules/uglify-js/lib/scope.js(604,12): error TS2339: Property 'reset' does not exist on type '(num: any) => string'.
node_modules/uglify-js/lib/sourcemap.js(56,25): error TS2304: Cannot find name 'MOZ_SourceMap'.
node_modules/uglify-js/lib/sourcemap.js(60,40): error TS2304: Cannot find name 'MOZ_SourceMap'.
node_modules/uglify-js/tools/exit.js(2,12): error TS2454: Variable 'process' is used before being assigned.
node_modules/uglify-js/tools/exit.js(3,1): error TS2454: Variable 'process' is used before being assigned.
node_modules/uglify-js/tools/exit.js(5,13): error TS2339: Property 'once' does not exist on type 'typeof process'.
node_modules/uglify-js/tools/exit.js(7,25): error TS2339: Property 'stdout' does not exist on type 'typeof process'.
node_modules/uglify-js/tools/exit.js(7,54): error TS2339: Property 'stderr' does not exist on type 'typeof process'.
node_modules/uglify-js/tools/node.js(68,27): error TS2339: Property 'minify' does not exist on type 'typeof "/home/nathansa/ts/tests/cases/user/uglify-js/node_modules/uglify-js/tools/node"'.
Standard error:

View file

@ -0,0 +1,63 @@
Exit Code: 1
Standard output:
node_modules/url-search-params/build/url-search-params.js(2,5): error TS2322: Type '{ new (init?: string | URLSearchParams | undefined): URLSearchParams; prototype: URLSearchParams; }' is not assignable to type '(query: any) => void'.
Type '{ new (init?: string | URLSearchParams | undefined): URLSearchParams; prototype: URLSearchParams; }' provides no match for the signature '(query: any): void'.
node_modules/url-search-params/build/url-search-params.js(2,5): error TS2403: Subsequent variable declarations must have the same type. Variable 'URLSearchParams' must be of type '{ new (init?: string | URLSearchParams | undefined): URLSearchParams; prototype: URLSearchParams; }', but here has type '(query: any) => void'.
node_modules/url-search-params/build/url-search-params.js(2,3851): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.js(2,3851): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.js(2,3851): error TS2684: The 'this' context of type '(() => any) | undefined' is not assignable to method's 'this' of type 'Function'.
Type 'undefined' is not assignable to type 'Function'.
node_modules/url-search-params/build/url-search-params.js(2,3918): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.js(2,3918): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.js(2,3918): error TS2684: The 'this' context of type '((v: any) => void) | undefined' is not assignable to method's 'this' of type 'Function'.
Type 'undefined' is not assignable to type 'Function'.
node_modules/url-search-params/build/url-search-params.js(2,4005): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.js(2,4005): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.js(2,4005): error TS2684: The 'this' context of type '(() => any) | undefined' is not assignable to method's 'this' of type 'Function'.
Type 'undefined' is not assignable to type 'Function'.
node_modules/url-search-params/build/url-search-params.js(2,4074): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.js(2,4074): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.js(2,4074): error TS2684: The 'this' context of type '((v: any) => void) | undefined' is not assignable to method's 'this' of type 'Function'.
Type 'undefined' is not assignable to type 'Function'.
node_modules/url-search-params/build/url-search-params.js(2,4676): error TS2339: Property 'forEach' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.js(2,5038): error TS2339: Property 'keys' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.js(2,5077): error TS2339: Property 'forEach' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.js(2,5368): error TS2339: Property 'values' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.js(2,5411): error TS2339: Property 'forEach' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.js(2,5699): error TS2339: Property 'entries' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.js(2,5744): error TS2339: Property 'forEach' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.js(2,6099): error TS2339: Property 'entries' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.js(2,6165): error TS2339: Property 'sort' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.js(2,6203): error TS2339: Property 'entries' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.max.js(246,22): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.max.js(246,22): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.max.js(246,22): error TS2684: The 'this' context of type '(() => any) | undefined' is not assignable to method's 'this' of type 'Function'.
Type 'undefined' is not assignable to type 'Function'.
node_modules/url-search-params/build/url-search-params.max.js(250,15): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.max.js(250,15): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.max.js(250,15): error TS2684: The 'this' context of type '((v: any) => void) | undefined' is not assignable to method's 'this' of type 'Function'.
Type 'undefined' is not assignable to type 'Function'.
node_modules/url-search-params/build/url-search-params.max.js(256,22): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.max.js(256,22): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.max.js(256,22): error TS2684: The 'this' context of type '(() => any) | undefined' is not assignable to method's 'this' of type 'Function'.
Type 'undefined' is not assignable to type 'Function'.
node_modules/url-search-params/build/url-search-params.max.js(260,15): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.max.js(260,15): error TS2532: Object is possibly 'undefined'.
node_modules/url-search-params/build/url-search-params.max.js(260,15): error TS2684: The 'this' context of type '((v: any) => void) | undefined' is not assignable to method's 'this' of type 'Function'.
Type 'undefined' is not assignable to type 'Function'.
node_modules/url-search-params/build/url-search-params.max.js(322,26): error TS2339: Property 'forEach' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.max.js(337,26): error TS2339: Property 'keys' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.max.js(339,12): error TS2339: Property 'forEach' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.max.js(358,26): error TS2339: Property 'values' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.max.js(360,12): error TS2339: Property 'forEach' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.max.js(379,26): error TS2339: Property 'entries' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.max.js(381,12): error TS2339: Property 'forEach' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.max.js(400,66): error TS2339: Property 'entries' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.max.js(404,26): error TS2339: Property 'sort' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.max.js(406,24): error TS2339: Property 'entries' does not exist on type 'URLSearchParams'.
node_modules/url-search-params/build/url-search-params.node.js(174,1): error TS2539: Cannot assign to 'URLSearchParams' because it is not a variable.
node_modules/url-search-params/build/url-search-params.node.js(174,44): error TS2339: Property 'URLSearchParams' does not exist on type 'Global'.
Standard error:

View file

@ -0,0 +1,64 @@
Exit Code: 1
Standard output:
node_modules/util/test/browser/inspect.js(25,1): error TS2304: Cannot find name 'suite'.
node_modules/util/test/browser/inspect.js(27,1): error TS2304: Cannot find name 'test'.
node_modules/util/test/browser/inspect.js(29,16): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/browser/inspect.js(31,16): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/browser/inspect.js(33,16): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/browser/inspect.js(36,1): error TS2304: Cannot find name 'test'.
node_modules/util/test/browser/inspect.js(37,16): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/browser/inspect.js(38,16): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/browser/inspect.js(39,16): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/browser/inspect.js(40,16): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/browser/is.js(26,1): error TS2304: Cannot find name 'suite'.
node_modules/util/test/browser/is.js(28,1): error TS2304: Cannot find name 'test'.
node_modules/util/test/browser/is.js(41,1): error TS2304: Cannot find name 'test'.
node_modules/util/test/browser/is.js(43,36): error TS2554: Expected 1-2 arguments, but got 0.
node_modules/util/test/browser/is.js(44,36): error TS2554: Expected 1-2 arguments, but got 0.
node_modules/util/test/browser/is.js(51,1): error TS2304: Cannot find name 'test'.
node_modules/util/test/browser/is.js(61,1): error TS2304: Cannot find name 'test'.
node_modules/util/test/browser/is.js(71,1): error TS2304: Cannot find name 'test'.
node_modules/util/test/browser/is.js(81,1): error TS2304: Cannot find name 'test'.
node_modules/util/test/browser/is.js(83,36): error TS2348: Value of type '{ new (str: string, encoding?: string | undefined): Buffer; new (size: number): Buffer; new (arra...' is not callable. Did you mean to include 'new'?
node_modules/util/test/node/debug.js(53,45): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string | undefined'.
node_modules/util/test/node/inspect.js(31,12): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(33,13): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(38,14): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(40,14): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(42,14): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(66,14): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(67,14): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(68,14): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(69,14): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(71,3): error TS2304: Cannot find name 'undef'.
node_modules/util/test/node/inspect.js(73,16): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(82,14): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(87,3): error TS2322: Type 'null' is not assignable to type '() => string'.
node_modules/util/test/node/inspect.js(88,3): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(93,3): error TS2322: Type 'null' is not assignable to type '() => string'.
node_modules/util/test/node/inspect.js(94,3): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(99,3): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(106,11): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(133,3): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(151,1): error TS2322: Type '{ inspect: () => number; }' is not assignable to type '{ [x: string]: any; foo: string; hello: number; a: { [x: string]: any; b: { [x: string]: any; c: ...'.
Property 'foo' is missing in type '{ inspect: () => number; }'.
node_modules/util/test/node/inspect.js(161,14): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/inspect.js(175,23): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/test/node/log.js(34,9): error TS2339: Property '_stderr' does not exist on type 'Console'.
node_modules/util/test/node/log.js(55,16): error TS2531: Object is possibly 'null'.
node_modules/util/test/node/util.js(43,34): error TS2554: Expected 1-2 arguments, but got 0.
node_modules/util/test/node/util.js(44,34): error TS2554: Expected 1-2 arguments, but got 0.
node_modules/util/util.js(27,20): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/util.js(35,45): error TS2345: Argument of type '(x: string) => string | number' is not assignable to parameter of type '(substring: string, ...args: any[]) => string'.
Type 'string | number' is not assignable to type 'string'.
Type 'number' is not assignable to type 'string'.
node_modules/util/util.js(55,20): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/util/util.js(73,15): error TS2339: Property 'noDeprecation' does not exist on type 'Process'.
node_modules/util/util.js(80,19): error TS2339: Property 'throwDeprecation' does not exist on type 'Process'.
node_modules/util/util.js(82,26): error TS2339: Property 'traceDeprecation' does not exist on type 'Process'.
node_modules/util/util.js(566,22): error TS8024: JSDoc '@param' tag has name 'ctor', but there is no parameter with that name.
node_modules/util/util.js(568,22): error TS8024: JSDoc '@param' tag has name 'superCtor', but there is no parameter with that name.
Standard error:

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,16 @@
tests/cases/compiler/yieldExpression1.ts(7,5): error TS2322: Type 'undefined' is not assignable to type 'number'.
==== tests/cases/compiler/yieldExpression1.ts (1 errors) ====
function* a() {
yield;
yield 0;
}
function* b(): IterableIterator<number> {
yield;
~~~~~
!!! error TS2322: Type 'undefined' is not assignable to type 'number'.
yield 0;
}

View file

@ -1,9 +1,21 @@
//// [yieldExpression1.ts]
function* foo() {
yield
}
function* a() {
yield;
yield 0;
}
function* b(): IterableIterator<number> {
yield;
yield 0;
}
//// [yieldExpression1.js]
function* foo() {
function* a() {
yield;
yield 0;
}
function* b() {
yield;
yield 0;
}

View file

@ -1,6 +1,16 @@
=== tests/cases/compiler/yieldExpression1.ts ===
function* foo() {
>foo : Symbol(foo, Decl(yieldExpression1.ts, 0, 0))
function* a() {
>a : Symbol(a, Decl(yieldExpression1.ts, 0, 0))
yield
yield;
yield 0;
}
function* b(): IterableIterator<number> {
>b : Symbol(b, Decl(yieldExpression1.ts, 3, 1))
>IterableIterator : Symbol(IterableIterator, Decl(lib.es2015.iterable.d.ts, --, --))
yield;
yield 0;
}

View file

@ -1,7 +1,24 @@
=== tests/cases/compiler/yieldExpression1.ts ===
function* foo() {
>foo : () => IterableIterator<any>
function* a() {
>a : () => IterableIterator<0 | undefined>
yield
yield;
>yield : any
yield 0;
>yield 0 : any
>0 : 0
}
function* b(): IterableIterator<number> {
>b : () => IterableIterator<number>
>IterableIterator : IterableIterator<T>
yield;
>yield : any
yield 0;
>yield 0 : any
>0 : 0
}

View file

@ -0,0 +1,8 @@
// @Filename: /a.ts
import x = require("something");
export { x };
// @Filename: /b.ts
import a = require('./a');
declare function f<T>(obj: T, key: keyof T): void;
f(a, "");

View file

@ -1,4 +1,12 @@
// @target: es6
function* foo() {
yield
}
// @strictNullChecks: true
function* a() {
yield;
yield 0;
}
function* b(): IterableIterator<number> {
yield;
yield 0;
}

View file

@ -3,4 +3,8 @@
function* g() {
yield;
}
}
function* h() {
yield undefined;
}

View file

@ -0,0 +1,19 @@
/// <reference path='fourslash.ts' />
/////**
//// * @template {T}
//// * @param {T} x
//// * @returns {T}
//// */
////var f = /*a*/x/*b*/ => x
verify.codeFix({
description: "Annotate with type from JSDoc",
newFileContent:
`/**
* @template {T}
* @param {T} x
* @returns {T}
*/
var f = <T>(x: T): T => x`,
});

View file

@ -0,0 +1,42 @@
/// <reference path='fourslash.ts'/>
////let x = 10;
////type Type = void;
////declare function f<T>(): void;
////declare function f2<T, U>(): void;
////f</*1a*/T/*2a*/y/*3a*/
////f</*1b*/T/*2b*/y/*3b*/;
////f</*1c*/T/*2c*/y/*3c*/>
////f</*1d*/T/*2d*/y/*3d*/>
////f</*1eTypeOnly*/T/*2eTypeOnly*/y/*3eTypeOnly*/>();
////
////f2</*1k*/T/*2k*/y/*3k*/,
////f2</*1l*/T/*2l*/y/*3l*/,/*4l*/T/*5l*/y/*6l*/
////f2</*1m*/T/*2m*/y/*3m*/,/*4m*/T/*5m*/y/*6m*/;
////f2</*1n*/T/*2n*/y/*3n*/,/*4n*/T/*5n*/y/*6n*/>
////f2</*1o*/T/*2o*/y/*3o*/,/*4o*/T/*5o*/y/*6o*/>
////f2</*1pTypeOnly*/T/*2pTypeOnly*/y/*3pTypeOnly*/,/*4pTypeOnly*/T/*5pTypeOnly*/y/*6pTypeOnly*/>();
////
////f2<typeof /*1uValueOnly*/x, /*4u*/T/*5u*/y/*6u*/
////
////f2</*1x*/T/*2x*/y/*3x*/, () =>/*4x*/T/*5x*/y/*6x*/
////f2<() =>/*1y*/T/*2y*/y/*3y*/, () =>/*4y*/T/*5y*/y/*6y*/
////f2<any, () =>/*1z*/T/*2z*/y/*3z*/
goTo.eachMarker((marker) => {
const markerName = test.markerName(marker);
if (markerName.endsWith("TypeOnly")) {
verify.not.completionListContains("x");
}
else {
verify.completionListContains("x");
}
if (markerName.endsWith("ValueOnly")) {
verify.not.completionListContains("Type");
}
else {
verify.completionListContains("Type");
}
});

View file

@ -0,0 +1,17 @@
/// <reference path='fourslash.ts'/>
////interface AnalyserNode {
////}
////declare var AnalyserNode: {
//// prototype: AnalyserNode;
//// new(): AnalyserNode;
////};
/////**/
goTo.marker();
verify.completionListContains("AnalyserNode", /*text*/ undefined, /*documentation*/ undefined, "var");
verify.completionEntryDetailIs("AnalyserNode", `interface AnalyserNode
var AnalyserNode: {
new (): AnalyserNode;
prototype: AnalyserNode;
}`, /*documentation*/ undefined, "var")

View file

@ -113,6 +113,7 @@ declare namespace FourSlashInterface {
class test_ {
markers(): Marker[];
markerNames(): string[];
markerName(m: Marker): string;
marker(name?: string): Marker;
ranges(): Range[];
spans(): Array<{ start: number, length: number }>;

View file

@ -0,0 +1,51 @@
/// <reference path="../fourslash.ts"/>
////// region without label
////[|// #region
////
////// #endregion|]
////
////// region without label with trailing spaces
////[|// #region
////
////// #endregion|]
////
////// region with label
////[|// #region label1
////
////// #endregion|]
////
////// region with extra whitespace in all valid locations
//// [|// #region label2 label3
////
//// // #endregion|]
////
////// No space before directive
////[|//#region label4
////
//////#endregion|]
////
////// Nested regions
////[|// #region outer
////
////[|// #region inner
////
////// #endregion inner|]
////
////// #endregion outer|]
////
////// region delimiters not valid when there is preceding text on line
//// test // #region invalid1
////
////test // #endregion
////
////// region delimiters not valid when in multiline comment
/////*
////// #region invalid2
////*/
////
/////*
////// #endregion
////*/
verify.outliningSpansInCurrentFile(test.ranges());

@ -1 +1 @@
Subproject commit 40bdb4eadabc9fbed7d83e3f26817a931c0763b6
Subproject commit ed149eb0c787b1195a95b44105822c64bb6eb636

View file

@ -1,11 +1,11 @@
{
"name": "github-test",
"name": "acorn-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"github": "latest"
"acorn": "^5.5.3"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/acorn"]
}

View file

@ -0,0 +1,11 @@
{
"name": "adonis-framework-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"adonis-framework": "^3.0.14"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/adonis-framework"]
}

View file

@ -0,0 +1,11 @@
{
"name": "assert-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"assert": "^1.4.1"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/assert"]
}

View file

@ -0,0 +1,11 @@
{
"name": "async-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"async": "^2.6.0"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/async"]
}

View file

@ -0,0 +1,11 @@
{
"name": "bcryptjs-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"bcryptjs": "^2.4.3"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/bcryptjs"]
}

View file

@ -0,0 +1,11 @@
{
"name": "bluebird-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"bluebird": "^3.5.1"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/bluebird"]
}

View file

@ -0,0 +1,11 @@
{
"name": "clear-require-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"clear-require": "^2.0.0"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/clear-require"]
}

View file

@ -0,0 +1,11 @@
{
"name": "clone-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"clone": "^2.1.1"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/clone"]
}

View file

@ -0,0 +1,11 @@
{
"name": "content-disposition-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"content-disposition": "^0.5.2"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/content-disposition"]
}

View file

@ -0,0 +1,11 @@
{
"name": "debug-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"debug": "^3.1.0"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/debug"]
}

View file

@ -0,0 +1,11 @@
{
"name": "enhanced-resolve-framework-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"enhanced-resolve": "^4.0.0"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/enhanced-resolve"]
}

View file

@ -0,0 +1,11 @@
{
"name": "follow-redirects-framework-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"follow-redirects": "^1.4.1"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/follow-redirects"]
}

View file

@ -1 +0,0 @@
import github = require("github");

View file

@ -0,0 +1,11 @@
{
"name": "graceful-fs-framework-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"graceful-fs": "^4.1.11"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/graceful-fs"]
}

View file

@ -0,0 +1,11 @@
{
"name": "lodash-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"lodash": "^4.17.5"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/lodash"]
}

View file

@ -0,0 +1,11 @@
{
"name": "minimatch-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"minimatch": "^3.0.4"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/minimatch"]
}

View file

@ -0,0 +1,11 @@
{
"name": "npm-test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"author": "",
"license": "Apache-2.0",
"dependencies": {
"npm": "^5.7.1"
}
}

View file

@ -0,0 +1,13 @@
{
"compilerOptions": {
"noImplicitAny": false,
"noImplicitThis": false,
"maxNodeModuleJsDepth": 0,
"strict": true,
"noEmit": true,
"allowJs": true,
"checkJs": true,
"types": ["node"],
},
"include": ["node_modules/npm"]
}

Some files were not shown because too many files have changed in this diff Show more