refactor: type

This commit is contained in:
Sergey Shehovcov 2024-07-05 11:42:05 +03:00
parent 0271933e11
commit 678a7b8d4d
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "crypto-pro-js-m", "name": "crypto-pro-js-m",
"version": "1.0.0", "version": "1.0.1",
"description": "Асинхронный JavaScript API для работы с КриптоПРО ЭЦП Browser Plug-In. Forked from https://github.com/crypto-pro-web/crypto-pro-js", "description": "Асинхронный JavaScript API для работы с КриптоПРО ЭЦП Browser Plug-In. Forked from https://github.com/crypto-pro-web/crypto-pro-js",
"main": "./lib/crypto-pro-js-m.js", "main": "./lib/crypto-pro-js-m.js",
"types": "./lib/crypto-pro-js-m.d.ts", "types": "./lib/crypto-pro-js-m.d.ts",

View File

@ -1,4 +1,4 @@
export type SignType = 'CAdES BES' | 'CAdES-X Long Type 1' | 'CAdES T' | 'PKCS7'; export declare type SignType = 'CAdES BES' | 'CAdES-X Long Type 1' | 'CAdES T' | 'PKCS7';
export const getSignType = (cadesplugin: any, signType: SignType): any => { export const getSignType = (cadesplugin: any, signType: SignType): any => {
switch (signType) { switch (signType) {

View File

@ -1 +1 @@
export { SignType } from './getSignType'; export { type SignType } from './getSignType';