Convert drive-constraints.spec.ts to typescript

Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2020-01-16 01:17:05 +01:00
parent e1c3c80c0f
commit a4e87982a6
3 changed files with 1636 additions and 1385 deletions

View File

@ -50,31 +50,31 @@ export const info = {
};
export const compatibility = {
sizeNotRecommended() {
sizeNotRecommended: () => {
return 'Not Recommended';
},
tooSmall(additionalSpace: string) {
tooSmall: (additionalSpace: string) => {
return `Insufficient space, additional ${additionalSpace} required`;
},
locked() {
locked: () => {
return 'Locked';
},
system() {
system: () => {
return 'System Drive';
},
containsImage() {
containsImage: () => {
return 'Drive Mountpoint Contains Image';
},
// The drive is large and therefore likely not a medium you want to write to.
largeDrive() {
largeDrive: () => {
return 'Large Drive';
},
};
} as const;
export const warning = {
unrecommendedDriveSize: (

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff