Skip to content

Commit d4432a9

Browse files
committedAug 2, 2020
fix: use correct import path for libphonenumber-js
1 parent c7eba91 commit d4432a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/decorator/string/IsPhoneNumber.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { buildMessage, ValidateBy } from '../common/ValidateBy';
77
* typings into the es6 folder as well.
88
*/
99
// @ts-ignore
10-
import { parsePhoneNumberFromString, CountryCode } from 'libphonenumber-js/es6';
10+
import { parsePhoneNumberFromString, CountryCode } from 'libphonenumber-js';
1111

1212
export const IS_PHONE_NUMBER = 'isPhoneNumber';
1313

0 commit comments

Comments
 (0)
Please sign in to comment.