Skip to content

Commit

Permalink
add JSDoc typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
h1romas4 committed Nov 29, 2023
1 parent 534d5f7 commit 60905ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/MIDISetting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { Modal } from 'bootstrap'
/**
* External State (WEBMIDI.js Singleton)
*
* @typedef {import('webmidi').WebMidi} WebMidi
* @type {WebMidi}
*/
const $webmidi = getCurrentInstance().appContext.config.globalProperties.$webmidi
Expand Down
2 changes: 2 additions & 0 deletions src/components/Sequencer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { ref, onMounted, getCurrentInstance, reactive } from 'vue'
/**
* External State (WEBMIDI.js Singleton)
*
* @typedef {import('webmidi').WebMidi} WebMidi
* @type {WebMidi}
*/
const $webmidi = getCurrentInstance().appContext.config.globalProperties.$webmidi
Expand Down

0 comments on commit 60905ac

Please sign in to comment.