fix(webui): restore full-project typechecking
This commit is contained in:
1 parent
f869212e7d
commit
a1bca7dc50
56 files changed
+622
-583
No files matched your search
@@ -19,17 +19,17 @@ function motionHarness(initial?: Partial<ThreadMotionGeometry>) {
|
||||
promptTop: 404,
|
||||
...initial,
|
||||
};
|
||||
const scheduler: ThreadMotionScheduler = {
|
||||
request: vi.fn((callback) => {
|
||||
const scheduler = {
|
||||
request: vi.fn<ThreadMotionScheduler["request"]>((callback) => {
|
||||
const id = nextFrameId;
|
||||
nextFrameId += 1;
|
||||
frames.set(id, callback);
|
||||
return id;
|
||||
}),
|
||||
cancel: vi.fn((id) => {
|
||||
cancel: vi.fn<ThreadMotionScheduler["cancel"]>((id) => {
|
||||
frames.delete(id);
|
||||
}),
|
||||
};
|
||||
} satisfies ThreadMotionScheduler;
|
||||
const camera = {
|
||||
cancel: vi.fn(() => {
|
||||
cameraFollowing = false;
|
||||
|
||||
Reference in new issue
Block a user