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

.d.ts files writed in src not include in dist/types folder after compile #288

Open
NichijouCC opened this issue Apr 13, 2019 · 2 comments
Open

Comments

@NichijouCC
Copy link

as title

@gmpetrov
Copy link

Any news ?

@NichijouCC
Copy link
Author

i write in ts file just like:

declare global {
    interface WebGLVertexArrayObject extends WebGLObject {}
    interface WebGLRenderingContext {
        beWebgl2: boolean;
        bindpoint: number;
        beActiveVao: boolean;
        beActiveInstance: boolean;
        addExtension(extName: string): void;
        createVertexArray(): any;
        bindVertexArray(vao?: WebGLVertexArrayObject | null): void;
        deleteVertexArray(vao: WebGLVertexArrayObject): void;
        vertexAttribDivisor(index: number, divisor: number): void;
        drawElementsInstanced(mode: number, count: number, type: number, offset: number, instanceCount: number): void;
        drawArraysInstanced(mode: number, first: number, count: number, instanceCount: number): void;
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants