Skip to content

TS1362 'GLTFLoader' cannot be used as a value because it was exported using 'export type'. #402

Closed as not planned
@rosskevin

Description

@rosskevin
  • three-stdlib version: 2.35.11

Problem description:

Unable to instantiate in a module/moduleResolution nodenext due to changes in patch-ts

Relevant code:

import { GLTFLoader } from 'three-stdlib'

const gltfLoader = new GLTFLoader()

I'm looking at this @CodyJasonBennett - thank you for the effort so far. I'll experiment a bit on my side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions