Skip to content

Commit

Permalink
fix: Remove ".js" extension to StringUtils import (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisignaciocc authored Mar 6, 2022
1 parent 0ad7d10 commit 5aa0f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snake-naming.strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// https://gist.github.com/recurrence/b6a4cb04a8ddf42eda4e4be520921bd2

import { DefaultNamingStrategy, NamingStrategyInterface } from 'typeorm';
import { snakeCase } from 'typeorm/util/StringUtils.js';
import { snakeCase } from 'typeorm/util/StringUtils';

export class SnakeNamingStrategy
extends DefaultNamingStrategy
Expand Down

0 comments on commit 5aa0f81

Please sign in to comment.