Skip to content

API reference > @kontsedal/olas-vue > Register

Register interface ​

Register the app's root type once, and useRoot() returns its api with no type argument. Empty here: the app adds root through declaration merging.

ts
declare module '@kontsedal/olas-vue' {
  interface Register {
    root: typeof root
  }
}

Signature:

typescript
export interface Register

Released under the MIT License.