Skip to content

// @ts-check complains about screen.orientation and suggest msOrientation #34381

@kenchris

Description

@kenchris

[js] Property 'orientation' does not exist on type 'Screen'. Did you mean 'msOrientation'?

Though screen.orientation is what Chrome uses

mat4.rotateZ(this.rotationMatrix, this.rotationMatrix, toRad(window.screen.orientation.angle || 0));

Metadata

Metadata

Assignees

Labels

javascriptJavaScript support issuestypescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions