Skip to content

Commit

Permalink
pkg: add minimal type lints.
Browse files Browse the repository at this point in the history
  • Loading branch information
nodech committed Sep 24, 2023
1 parent 9706a7c commit 334c474
Show file tree
Hide file tree
Showing 37 changed files with 546 additions and 153 deletions.
8 changes: 6 additions & 2 deletions lib/aes.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

'use strict';

let AES;

if (process.env.NODE_BACKEND === 'js')
module.exports = require('./js/aes');
AES = require('./js/aes');
else
module.exports = require('./native/aes');
AES = require('./native/aes');

module.exports = AES;
Loading

0 comments on commit 334c474

Please sign in to comment.