Skip to content

Commit

Permalink
refactor: use import instead of require
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Dec 6, 2024
1 parent 2ec645b commit c999fb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const <%- project.name -%> = require('./Native<%- project.name -%>').default;
import <%- project.name -%> from './Native<%- project.name -%>';

export function multiply(a: number, b: number): number {
return <%- project.name -%>.multiply(a, b);
Expand Down

0 comments on commit c999fb2

Please sign in to comment.