Skip to content

Commit

Permalink
fix: ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mbret committed Jan 25, 2025
1 parent a429b7b commit 3dee686
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/core/src/spineItem/renderer/DefaultRenderer.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { EMPTY, type Observable, of } from "rxjs"
import { EMPTY, of } from "rxjs"
import { DocumentRenderer } from "./DocumentRenderer"

export class DefaultRenderer extends DocumentRenderer {
onUnload(): Observable<unknown> {
onUnload() {
return EMPTY
}

onCreateDocument(): Observable<unknown> {
return EMPTY
onCreateDocument() {
return of(document.createElement("div"))
}

onLoadDocument(): Observable<unknown> {
onLoadDocument() {
return EMPTY
}

Expand Down

0 comments on commit 3dee686

Please sign in to comment.