Skip to content

Commit

Permalink
Added ts-check
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozo132 committed Dec 17, 2024
1 parent ce8b1ae commit 5783302
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zpl2svg.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

/* This is a very simple ZPL to SVG converter written in pure JavaScript. */

// @ts-check
"use strict";
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
(function (root, factory) { // @ts-ignore
if (typeof define === 'function' && define.amd) { // @ts-ignore
define([bwipjs], factory);
} else if (typeof module === 'object' && module.exports) {
const bwipjs = require('bwip-js')
module.exports = factory(bwipjs);
} else {
} else { // @ts-ignore
root.zplToSvg = factory(bwipjs);
}
}(typeof self !== 'undefined' ? self : this, function (bwipjs) {
Expand Down

0 comments on commit 5783302

Please sign in to comment.