Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/lib/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31943,12 +31943,6 @@ declare var StorageManager: {
new(): StorageManager;
};

/** @deprecated */
interface StyleMedia {
type: string;
matchMedium(mediaquery: string): boolean;
}

/**
* The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.
*
Expand Down
3 changes: 3 additions & 0 deletions tests/baselines/reference/callsOnComplexSignatures.types
Original file line number Diff line number Diff line change
Expand Up @@ -663,9 +663,11 @@ function test5() {

c?: any;
>c : any
> : ^^^

d?: any;
>d : any
> : ^^^
}

var C: React.ComponentType<P1> | React.ComponentType<P2> = null as any;
Expand All @@ -676,6 +678,7 @@ function test5() {
>React : any
> : ^^^
>null as any : any
> : ^^^

const a = <C p={true} />;
>a : JSX.Element
Expand Down

This file was deleted.

49 changes: 0 additions & 49 deletions tests/baselines/reference/controlFlowOptionalChain3.errors.txt

This file was deleted.

This file was deleted.

32 changes: 0 additions & 32 deletions tests/baselines/reference/ignoredJsxAttributes.errors.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,3 @@ export function ExampleFunctionalComponent({ "data-testid": dataTestId, [dynProp
}): JSX.Element;
declare const dynPropName: "data-dyn";
export {};


//// [DtsFileErrors]


out/jsDeclarationsNonIdentifierInferredNames.d.ts(4,5): error TS2503: Cannot find namespace 'JSX'.


==== out/jsDeclarationsNonIdentifierInferredNames.d.ts (1 errors) ====
export function ExampleFunctionalComponent({ "data-testid": dataTestId, [dynPropName]: dynProp }: {
"data-testid": any;
"data-dyn": any;
}): JSX.Element;
~~~
!!! error TS2503: Cannot find namespace 'JSX'.
declare const dynPropName: "data-dyn";
export {};

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ function Foo({ bar }) {
>div : any
> : ^^^
>bar : any
> : ^^^
>div : any
> : ^^^
}
Expand Down
Loading
Loading