Skip to content

Commit 7131a1f

Browse files
authored
docs(readme): fix syntax highlight in encryption (#227)
1 parent 686b835 commit 7131a1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ First, follow the installation steps above to update to Ionic Storage v3, instal
340340

341341
Next, remove the database name and drivers, if used, from `app.module.ts`:
342342

343-
```
343+
```typescript
344344
@NgModule({
345345
imports: [
346346
// ...,
@@ -353,7 +353,7 @@ export class MyPageModule { }
353353

354354
Finally, in the service class, create a one time migration function that migrates data to an encrypted database. Execute this function on app load.
355355

356-
```javascript
356+
```typescript
357357
async migrateDatabase() {
358358
const origStore = new Storage({
359359
name: 'originalDB', // the original database name

0 commit comments

Comments
 (0)