Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(scope-manager): update libs for typescript 4.2 #3118

Merged
merged 1 commit into from Mar 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
186 changes: 129 additions & 57 deletions packages/scope-manager/src/lib/dom.ts
Expand Up @@ -629,6 +629,12 @@ export const dom = {
isValueVariable: false,
name: 'ImageEncodeOptions',
},
ImportMeta: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'ImportMeta',
},
InputEventInit: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
Expand Down Expand Up @@ -959,12 +965,6 @@ export const dom = {
isValueVariable: false,
name: 'PermissionDescriptor',
},
PipeOptions: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'PipeOptions',
},
PointerEventInit: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
Expand Down Expand Up @@ -1073,6 +1073,12 @@ export const dom = {
isValueVariable: false,
name: 'QueuingStrategy',
},
QueuingStrategyInit: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'QueuingStrategyInit',
},
RTCAnswerOptions: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
Expand Down Expand Up @@ -1421,17 +1427,23 @@ export const dom = {
isValueVariable: false,
name: 'RTCTransportStats',
},
ReadableStreamReadDoneResult: {
ReadableStreamDefaultReadDoneResult: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'ReadableStreamReadDoneResult',
name: 'ReadableStreamDefaultReadDoneResult',
},
ReadableStreamReadValueResult: {
ReadableStreamDefaultReadValueResult: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'ReadableStreamReadValueResult',
name: 'ReadableStreamDefaultReadValueResult',
},
ReadableWritablePair: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'ReadableWritablePair',
},
RegistrationOptions: {
eslintImplicitGlobalSetting: 'readonly',
Expand All @@ -1445,6 +1457,12 @@ export const dom = {
isValueVariable: false,
name: 'RequestInit',
},
ResizeObserverOptions: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'ResizeObserverOptions',
},
ResponseInit: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
Expand Down Expand Up @@ -1565,6 +1583,18 @@ export const dom = {
isValueVariable: false,
name: 'ShareData',
},
SpeechRecognitionErrorEventInit: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'SpeechRecognitionErrorEventInit',
},
SpeechRecognitionEventInit: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'SpeechRecognitionEventInit',
},
SpeechSynthesisErrorEventInit: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
Expand Down Expand Up @@ -1613,6 +1643,12 @@ export const dom = {
isValueVariable: false,
name: 'StoreSiteSpecificExceptionsInformation',
},
StreamPipeOptions: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'StreamPipeOptions',
},
TextDecodeOptions: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
Expand Down Expand Up @@ -1673,12 +1709,6 @@ export const dom = {
isValueVariable: false,
name: 'ULongRange',
},
UnderlyingByteSource: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'UnderlyingByteSource',
},
UnderlyingSink: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
Expand Down Expand Up @@ -4715,53 +4745,53 @@ export const dom = {
isValueVariable: true,
name: 'Range',
},
ReadableByteStreamController: {
ReadableStream: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: true,
name: 'ReadableByteStreamController',
name: 'ReadableStream',
},
ReadableStream: {
ReadableStreamDefaultController: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: true,
name: 'ReadableStream',
name: 'ReadableStreamDefaultController',
},
ReadableStreamBYOBReader: {
ReadableStreamDefaultReader: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: true,
name: 'ReadableStreamBYOBReader',
name: 'ReadableStreamDefaultReader',
},
ReadableStreamBYOBRequest: {
ReadableStreamGenericReader: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: true,
name: 'ReadableStreamBYOBRequest',
isValueVariable: false,
name: 'ReadableStreamGenericReader',
},
ReadableStreamDefaultController: {
Request: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: true,
name: 'ReadableStreamDefaultController',
name: 'Request',
},
ReadableStreamDefaultReader: {
ResizeObserver: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: true,
name: 'ReadableStreamDefaultReader',
name: 'ResizeObserver',
},
ReadableStreamReader: {
ResizeObserverEntry: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: true,
name: 'ReadableStreamReader',
name: 'ResizeObserverEntry',
},
Request: {
ResizeObserverSize: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: true,
name: 'Request',
name: 'ResizeObserverSize',
},
Response: {
eslintImplicitGlobalSetting: 'readonly',
Expand Down Expand Up @@ -5693,6 +5723,12 @@ export const dom = {
isValueVariable: true,
name: 'SpeechRecognitionAlternative',
},
SpeechRecognitionErrorEvent: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: true,
name: 'SpeechRecognitionErrorEvent',
},
SpeechRecognitionEvent: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
Expand Down Expand Up @@ -6593,11 +6629,11 @@ export const dom = {
isValueVariable: false,
name: 'PositionErrorCallback',
},
QueuingStrategySizeCallback: {
QueuingStrategySize: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'QueuingStrategySizeCallback',
name: 'QueuingStrategySize',
},
RTCPeerConnectionErrorCallback: {
eslintImplicitGlobalSetting: 'readonly',
Expand All @@ -6617,65 +6653,77 @@ export const dom = {
isValueVariable: false,
name: 'RTCStatsCallback',
},
ReadableByteStreamControllerCallback: {
ResizeObserverCallback: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'ReadableByteStreamControllerCallback',
name: 'ResizeObserverCallback',
},
ReadableStreamDefaultControllerCallback: {
TransformerFlushCallback: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'ReadableStreamDefaultControllerCallback',
name: 'TransformerFlushCallback',
},
ReadableStreamErrorCallback: {
TransformerStartCallback: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'ReadableStreamErrorCallback',
name: 'TransformerStartCallback',
},
TransformStreamDefaultControllerCallback: {
TransformerTransformCallback: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'TransformStreamDefaultControllerCallback',
name: 'TransformerTransformCallback',
},
TransformStreamDefaultControllerTransformCallback: {
UnderlyingSinkAbortCallback: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'TransformStreamDefaultControllerTransformCallback',
name: 'UnderlyingSinkAbortCallback',
},
VoidFunction: {
UnderlyingSinkCloseCallback: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'VoidFunction',
name: 'UnderlyingSinkCloseCallback',
},
WritableStreamDefaultControllerCloseCallback: {
UnderlyingSinkStartCallback: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'WritableStreamDefaultControllerCloseCallback',
name: 'UnderlyingSinkStartCallback',
},
WritableStreamDefaultControllerStartCallback: {
UnderlyingSinkWriteCallback: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'WritableStreamDefaultControllerStartCallback',
name: 'UnderlyingSinkWriteCallback',
},
WritableStreamDefaultControllerWriteCallback: {
UnderlyingSourceCancelCallback: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'WritableStreamDefaultControllerWriteCallback',
name: 'UnderlyingSourceCancelCallback',
},
WritableStreamErrorCallback: {
UnderlyingSourcePullCallback: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'WritableStreamErrorCallback',
name: 'UnderlyingSourcePullCallback',
},
UnderlyingSourceStartCallback: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'UnderlyingSourceStartCallback',
},
VoidFunction: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'VoidFunction',
},
HTMLElementTagNameMap: {
eslintImplicitGlobalSetting: 'readonly',
Expand Down Expand Up @@ -6827,11 +6875,17 @@ export const dom = {
isValueVariable: false,
name: 'PerformanceEntryList',
},
ReadableStreamReadResult: {
ReadableStreamReader: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'ReadableStreamReadResult',
name: 'ReadableStreamReader',
},
ReadableStreamController: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'ReadableStreamController',
},
VibratePattern: {
eslintImplicitGlobalSetting: 'readonly',
Expand Down Expand Up @@ -7055,6 +7109,12 @@ export const dom = {
isValueVariable: false,
name: 'WindowProxy',
},
ReadableStreamDefaultReadResult: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'ReadableStreamDefaultReadResult',
},
AlignSetting: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
Expand Down Expand Up @@ -7751,6 +7811,12 @@ export const dom = {
isValueVariable: false,
name: 'ResidentKeyRequirement',
},
ResizeObserverBoxOptions: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'ResizeObserverBoxOptions',
},
ResizeQuality: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
Expand Down Expand Up @@ -7817,6 +7883,12 @@ export const dom = {
isValueVariable: false,
name: 'ShadowRootMode',
},
SpeechRecognitionErrorCode: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
isValueVariable: false,
name: 'SpeechRecognitionErrorCode',
},
SpeechSynthesisErrorCode: {
eslintImplicitGlobalSetting: 'readonly',
isTypeVariable: true,
Expand Down