-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Labels
area-coreRelated to some core parts of alphaTabRelated to some core parts of alphaTabplatform-javascriptRelated to the JavaScript version of alphaTabRelated to the JavaScript version of alphaTabstate-acceptedThis is a valid topic to work on.This is a valid topic to work on.
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Attempting to use one of the models exported as model results in Cannot find namespace 'model'.ts(2503).
Expected Behavior
No typescript errors.
Steps To Reproduce
import { Service } from "typedi";
import { Settings, importer, model } from "@coderline/alphatab";
@Service()
export class AlphaTabService {
getScoreByBuffer(buffer: Buffer): model.Score { // Cannot find namespace 'model'.ts(2503)
const settings = new Settings();
return importer.ScoreLoader.loadScoreFromBytes(
new Uint8Array(buffer),
settings
);
}
}
Link to jsFiddle, CodePen, Project
No response
Found in Version
1.3-alpha
Platform
Node.js
Environment
- **OS**: MacOS 12.0.1 (21A559)
- **Browser**: N/A
- **.net Version**: N/AAnything else?
Metadata
Metadata
Assignees
Labels
area-coreRelated to some core parts of alphaTabRelated to some core parts of alphaTabplatform-javascriptRelated to the JavaScript version of alphaTabRelated to the JavaScript version of alphaTabstate-acceptedThis is a valid topic to work on.This is a valid topic to work on.
