Added explicit Buffer import declarations

This commit is contained in:
Alexander Cerutti
2022-02-07 01:18:06 +01:00
parent ad10c8251b
commit a15dc29290
9 changed files with 9 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
import { Stream } from "stream";
import { Buffer } from "buffer";
import path from "path";
import FieldsArray from "./FieldsArray";
import Bundle, { filesSymbol } from "./Bundle";

View File

@@ -1,5 +1,6 @@
import forge from "node-forge";
import type * as Schemas from "./schemas";
import { Buffer } from "buffer";
/**
* Creates an hash for a buffer. Used by manifest

View File

@@ -1,4 +1,5 @@
import { EOL } from "os";
import { Buffer } from "buffer";
// ************************************ //
// *** UTILS FOR PASS.STRINGS FILES *** //

View File

@@ -2,6 +2,7 @@ import * as path from "path";
import * as Utils from "./utils";
import * as Messages from "./messages";
import { promises as fs } from "fs";
import type { Buffer } from "buffer";
/**
* Reads the model folder contents

View File

@@ -1,4 +1,4 @@
import type forge from "node-forge";
import { Buffer } from "buffer";
import Joi from "joi";
export interface CertificatesSchema {

View File

@@ -9,6 +9,7 @@ export * from "./Personalize";
export * from "./Certificates";
import Joi from "joi";
import { Buffer } from "buffer";
import { Barcode } from "./Barcode";
import { Location } from "./Location";