using wmbasic-api-types

This commit is contained in:
2021-08-16 11:07:11 +02:00
parent 82903a8029
commit f6ac48daab
12 changed files with 12 additions and 278 deletions

View File

@@ -1,7 +1,4 @@
// @ts-check
/**
* @typedef {import('../types') }
*/
var config = require("../config")
@@ -25,7 +22,7 @@ function randomToken() {
/**
*
* @param {import('../types').HookContext} c
* @param {import('wmbasic-api-types').HookContext} c
* @returns {boolean}
*/
function isPublicToken(c) {
@@ -37,7 +34,7 @@ function isPublicToken(c) {
/**
*
* @param {import('../types').HookContext} c
* @param {import('wmbasic-api-types').HookContext} c
* @returns {boolean}
*/
function isSsrToken(c) {
@@ -49,7 +46,7 @@ function isSsrToken(c) {
/**
*
* @param {import('../types').HookContext} c
* @param {import('wmbasic-api-types').HookContext} c
* @param {string} filename
* @returns {string}
*/