angular-three 4.0.0-next.91 → 4.0.0-next.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/html.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare function provideHTMLDomElement<TDeps extends Array<ProviderToken<
|
|
|
8
8
|
}>(deps: TDeps, factory: (...args: TValues) => HTMLElement): Provider;
|
|
9
9
|
export declare abstract class NgtHTML {
|
|
10
10
|
static [NGT_HTML_FLAG]: boolean;
|
|
11
|
-
protected domElement: "gl" |
|
|
11
|
+
protected domElement: HTMLElement | "gl" | null;
|
|
12
12
|
constructor();
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgtHTML, never>;
|
|
14
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NgtHTML, never, never, {}, {}, never, never, true, never>;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { NgtAnyRecord, NgtInstanceState } from '../types';
|
|
2
2
|
export declare const NGT_APPLY_PROPS = "__ngt_apply_props__";
|
|
3
|
+
export declare function resolveInstanceKey(instance: any, key: string): {
|
|
4
|
+
root: any;
|
|
5
|
+
targetKey: string;
|
|
6
|
+
targetProp: any;
|
|
7
|
+
};
|
|
3
8
|
export declare function applyProps<T extends NgtAnyRecord>(instance: NgtInstanceState<T>['object'], props: NgtAnyRecord): T & {
|
|
4
9
|
__ngt__?: NgtInstanceState<T> | undefined;
|
|
5
10
|
};
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@ export declare class WebGL2RenderingContext {
|
|
|
9
9
|
private GL_VERSION;
|
|
10
10
|
private SCISSOR_BOX;
|
|
11
11
|
private VIEWPORT;
|
|
12
|
-
getParameter(paramId: number):
|
|
12
|
+
getParameter(paramId: number): string[] | number[] | undefined;
|
|
13
13
|
getExtension(ext: string): any;
|
|
14
14
|
getProgramInfoLog: () => string;
|
|
15
15
|
getShaderInfoLog: () => string;
|