mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2025-08-26 18:52:39 +03:00
refactor: type
This commit is contained in:
parent
0271933e11
commit
678a7b8d4d
@ -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",
|
||||||
|
@ -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) {
|
||||||
|
@ -1 +1 @@
|
|||||||
export { SignType } from './getSignType';
|
export { type SignType } from './getSignType';
|
||||||
|
Loading…
Reference in New Issue
Block a user