mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
updated test file import to be the standard ES6/TypeScript
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import UAParser = require('ua-parser-js');
|
||||
import { UAParser } from 'ua-parser-js';
|
||||
|
||||
function test_parser() {
|
||||
var ua = 'Mozilla/5.0 (Windows NT 6.2) AppleWebKit/536.6 (KHTML, like Gecko) Chrome/20.0.1090.0 Safari/536.6';
|
||||
|
||||
Reference in New Issue
Block a user