Update import location for types
Apparently all the types themselves are fine, even though some of the function signatures have been updated to return Promises... we were alreaady await-ing on them.pull/21833/head
							parent
							
								
									b916b789aa
								
							
						
					
					
						commit
						086a8cbbb3
					
				|  | @ -14,7 +14,8 @@ See the License for the specific language governing permissions and | |||
| limitations under the License. | ||||
| */ | ||||
| 
 | ||||
| import { ICryptoCallbacks, ISecretStorageKeyInfo } from 'matrix-js-sdk/src/matrix'; | ||||
| import { ICryptoCallbacks } from 'matrix-js-sdk/src/matrix'; | ||||
| import { ISecretStorageKeyInfo } from 'matrix-js-sdk/src/crypto/api'; | ||||
| import { MatrixClient } from 'matrix-js-sdk/src/client'; | ||||
| import Modal from './Modal'; | ||||
| import * as sdk from './index'; | ||||
|  |  | |||
|  | @ -21,7 +21,7 @@ import Modal from '../../../Modal'; | |||
| import VerificationRequestDialog from '../../views/dialogs/VerificationRequestDialog'; | ||||
| import { SetupEncryptionStore, Phase } from '../../../stores/SetupEncryptionStore'; | ||||
| import { replaceableComponent } from "../../../utils/replaceableComponent"; | ||||
| import { ISecretStorageKeyInfo } from 'matrix-js-sdk'; | ||||
| import { ISecretStorageKeyInfo } from 'matrix-js-sdk/src/crypto/api'; | ||||
| import EncryptionPanel from "../../views/right_panel/EncryptionPanel"; | ||||
| import AccessibleButton from '../../views/elements/AccessibleButton'; | ||||
| import Spinner from '../../views/elements/Spinner'; | ||||
|  |  | |||
|  | @ -17,7 +17,7 @@ limitations under the License. | |||
| import { debounce } from "lodash"; | ||||
| import classNames from 'classnames'; | ||||
| import React, { ChangeEvent, FormEvent } from 'react'; | ||||
| import { ISecretStorageKeyInfo } from "matrix-js-sdk/src"; | ||||
| import { ISecretStorageKeyInfo } from "matrix-js-sdk/src/crypto/api"; | ||||
| 
 | ||||
| import * as sdk from '../../../../index'; | ||||
| import { MatrixClientPeg } from '../../../../MatrixClientPeg'; | ||||
|  |  | |||
|  | @ -16,7 +16,7 @@ limitations under the License. | |||
| 
 | ||||
| import { IMatrixClientCreds } from "../MatrixClientPeg"; | ||||
| import { Kind as SetupEncryptionKind } from "../toasts/SetupEncryptionToast"; | ||||
| import { ISecretStorageKeyInfo } from 'matrix-js-sdk/src/matrix'; | ||||
| import { ISecretStorageKeyInfo } from 'matrix-js-sdk/src/crypto/api'; | ||||
| 
 | ||||
| /* eslint-disable-next-line @typescript-eslint/no-unused-vars */ | ||||
| function examineLoginResponse( | ||||
|  |  | |||
|  | @ -17,7 +17,7 @@ limitations under the License. | |||
| import EventEmitter from 'events'; | ||||
| import { VerificationRequest } from "matrix-js-sdk/src/crypto/verification/request/VerificationRequest"; | ||||
| import { IKeyBackupInfo } from "matrix-js-sdk/src/crypto/keybackup"; | ||||
| import { ISecretStorageKeyInfo } from "matrix-js-sdk/src/matrix"; | ||||
| import { ISecretStorageKeyInfo } from "matrix-js-sdk/src/crypto/api"; | ||||
| import { PHASE_DONE as VERIF_PHASE_DONE } from "matrix-js-sdk/src/crypto/verification/request/VerificationRequest"; | ||||
| 
 | ||||
| import { MatrixClientPeg } from '../MatrixClientPeg'; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 David Baker
						David Baker