Skip to content

Instantly share code, notes, and snippets.

@bryanl
Created July 9, 2020 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanl/ef6f4a9e6c3143bc75c1df94cb644ca5 to your computer and use it in GitHub Desktop.
Save bryanl/ef6f4a9e6c3143bc75c1df94cb644ca5 to your computer and use it in GitHub Desktop.
plugin
export default class MyPlugin implements octant.Plugin {
printer = printHandler
}
export default interface MyPlugin implements octant.Plugin {
printHandler(request: octant.PrintRequest): octant.PrintResponse {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment