add more jsb interface info && fix some types (#14628)

* add jsb interface info

* mark TODO

workaround

* fix type

* remove some new ts-expect-error

* fix type in strict mode
This commit is contained in:
PP
2023-03-22 15:22:09 +08:00
committed by GitHub
parent dcc0b8d52e
commit 3cb698c8aa
36 changed files with 428 additions and 144 deletions
@@ -24,6 +24,11 @@
import { API, } from '../../gfx';
import { cclegacy } from '../../core';
import type { EffectAsset } from '../../asset/assets/effect-asset';
import type { Attribute, ShaderInfo, DescriptorSetLayout, DescriptorSetLayoutBinding, PipelineLayout } from '../../gfx';
import type { IDefineRecord } from './program-lib';
declare const jsb: any;
export interface ITemplateInfo {
gfxAttributes: Attribute[];