Skip to content

Commit 1d7a057

Browse files
Merge pull request #12 from stripe/jdivock/latest-types
Exporting hand-extracted types based off new protos
2 parents 32540d0 + 9f52189 commit 1d7a057

File tree

104 files changed

+856
-2011
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+856
-2011
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ dist
22
node_modules
33
examples
44
tests/types
5-
types/terminal-js
5+
types/proto.d.ts

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
node_modules
22
dist
33
package.json
4-
types/terminal-js
4+
types/proto.d.ts

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"eslint-plugin-prettier": "^3.1.1",
5252
"jest": "^24.9.0",
5353
"prettier": "^1.19.1",
54+
"protobufjs": "^6.9.0",
5455
"rimraf": "^2.6.2",
5556
"rollup": "^1.29.0",
5657
"rollup-plugin-babel": "^4.3.3",

tests/types/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
StripeTerminal as IStripeTerminal,
1010
DiscoverResult,
1111
Reader,
12+
IErrorResponse,
1213
ErrorResponse,
1314
SdkManagedPaymentIntent,
1415
} from '../../types/index';

types/index.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import {TerminalProps} from './terminal-js/rabbit/terminal-props';
2-
import {Terminal} from './terminal-js/index';
1+
import {Terminal, TerminalProps} from './terminal';
32

4-
export * from './terminal-js/index';
3+
export * from './terminal';
54

65
export interface StripeTerminal {
76
create(props: TerminalProps): Terminal;

0 commit comments

Comments
 (0)