mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
7 lines
185 B
TypeScript
7 lines
185 B
TypeScript
|
import { queryString } from './url'
|
||
|
|
||
|
export function setup(url: string, obj: any) {
|
||
|
const _queryString = queryString(obj)
|
||
|
const _url = url + '?' + _queryString
|
||
|
return _url
|
||
|
}
|