UNPKG
@square/web-payments-sdk-types
Version:
latest (1.83.11)
1.83.11
1.83.10
1.83.9
1.83.8
1.83.7
1.83.6
1.83.5
1.83.4
1.83.3
1.83.2
1.83.1
1.83.0
1.82.8
1.82.7
1.82.6
1.82.5
1.82.4
1.82.3
1.82.2
1.82.1
1.82.0
1.81.2
1.81.1
1.81.0
1.80.0
1.79.1
1.79.0
1.78.6
1.78.5
1.78.4
1.78.3
1.78.2
1.78.1
1.78.0
1.77.0
1.76.1
1.76.0
1.75.1
1.75.0
1.74.2
1.74.1
1.74.0
1.73.5
1.73.4
1.73.3
1.73.2
1.73.1
1.73.0
1.72.1
1.71.1
1.71.0
1.70.0
1.69.0
1.68.1
1.68.0
1.67.0
1.66.0
1.64.2
1.64.1
1.64.0
1.63.3
1.63.2
1.63.1
1.63.0
1.62.1
1.62.0
1.61.0
1.60.9
1.60.8
1.60.7
1.60.6
1.60.5
1.60.4
1.60.3
1.60.2
1.60.1
1.60.0
1.59.0
1.58.0
1.57.2
1.57.1
1.57.0
1.56.0
1.55.1
1.55.0
1.54.10
1.54.9
1.54.8
1.54.6
1.54.5
1.54.4
1.54.3
1.54.2
1.54.1
1.54.0
1.51.4
1.51.3
1.51.2
1.50.1
1.50.0
1.49.1
1.49.0
1.48.4
1.48.3
1.48.2
1.48.1
1.48.0
1.47.0
1.46.0
1.45.3
1.45.2
1.45.1
1.45.0
1.44.1
1.44.0
1.43.0
1.42.0
1.41.2
1.41.1
1.41.0
1.40.0
1.39.0
1.38.0
1.37.0
1.36.0
1.35.0
1.34.0
1.33.3
1.33.2
1.33.1
1.33.0
1.32.0
1.31.0
1.30.0
1.29.0
1.28.0
1.27.0
1.26.0
1.25.0
1.24.0
1.23.0
1.22.0
1.21.2
1.21.1
1.21.0
1.20.0
1.19.0
1.18.0
1.17.0
1.16.0
1.15.1
1.15.0
1.14.0
1.13.0
1.12.0
1.11.0
1.10.0
1.9.0
1.8.3
1.8.2
1.8.1
1.8.0
1.1.22
1.1.21
1.1.20
1.1.19
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
Types for Square's Web Payments SDK
@square/web-payments-sdk-types
/
dist
/
v1
/
errors
/
currency.d.ts
8 lines
(7 loc)
•
252 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import { SqError }
from
'./types'
;
/** * The specified amount is not expressed in a valid format for the provided currency. */
export
declare
class
InvalidCurrencyFormatError
extends
SqError
{
constructor
(
amount
:
string
,
currencyCode
:
string
); }