<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the <code class="notranslate">@types/angular-xeditable</code> package and had problems.
<ul dir="auto">
<li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/andy-ms/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andy-ms">@andy-ms</a></li>
</ul>
</li>
</ul>
<p dir="auto">I am getting the error - duplicate identifier for 'angular' module. I have modified the xeditable's typing file, then its working fine. I would raise a pull request. Please review it.</p>
<p dir="auto">modified type definition is as follows</p>
<p dir="auto">`// Generated by typings<br>
// Source: <a href="https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/1770103b6ef1a658476712c1f127e41dc2c8aca1/angular-xeditable/index.d.ts" rel="nofollow">https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/1770103b6ef1a658476712c1f127e41dc2c8aca1/angular-xeditable/index.d.ts</a></p>
<p dir="auto">declare module "xeditable" {<br>
// Type definitions for Angular xEditable (angular.xeditable module) 0.2<br>
// Project: <a href="https://vitalets.github.io/angular-xeditable/" rel="nofollow">https://vitalets.github.io/angular-xeditable/</a><br>
// Definitions by: Joao Monteiro <a href="https://github.com/jpmnteiro">https://github.com/jpmnteiro</a><br>
// Definitions: <a href="https://github.com/DefinitelyTyped/DefinitelyTyped">https://github.com/DefinitelyTyped/DefinitelyTyped</a><br>
import xeditable = angular.xeditable;<br>
export = xeditable;<br>
}</p>
<p dir="auto">declare namespace angular.xeditable {<br>
interface IEditableOptions {</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="        /**
          * Theme. Possible values `bs3`, `bs2`, `default`
          */
        theme: string;

        /**
          * Icon Set. Possible values `font-awesome`, `default`.
          */
        icon_set: string;

        /**
          * Whether to show buttons for single editalbe element.
          * Possible values `right` (default), `no`.
          */
        buttons: string;

        /**
          * Default value for `blur` attribute of single editable element.
          * Can be `cancel|submit|ignore`.
          */
        blurElem: string;

        /**
          * Default value for `blur` attribute of editable form.
          * Can be `cancel|submit|ignore`.
          */
        blurForm: string;

        /**
          * How input elements get activated. Possible values: `focus|select|none`.
          */
        activate: string;

        /**
          * Whether to disable x-editable. Can be overloaded on each element.
        */
        isDisabled: boolean;

        /*
        * Event, on which the edit mode gets activated.
        * Can be any event.
        */
        activationEvent: string;
    }

    interface IEditableFormController extends angular.IFormController {

        /**
         * Shows form with editable controls.
         */
        $show(): void;

        /**
         * Hides form with editable controls without saving.
         */
        $hide(): void;

        /**
         * Sets focus on form field specified by `name`.&lt;br/&gt;
         * When trying to set the focus on a form field of a new row in the editable table, the `$activate` call needs to be wrapped in a `$timeout` call so that the form is rendered before the `$activate` function is called.
         *
         * @param name name of field
         */
        $activate(name: string): void;

        /**
         * Triggers `oncancel` event and calls `$hide()`.
         */
        $cancel(): void;

        $setWaiting(value: boolean): void;

        /**
         * Shows error message for particular field.
         *
         * @param name name of field
         * @param msg error message
         */
        $setError(name: string, msg: string): void;

        $submit(): void;

        $save(): void;

    }"><pre class="notranslate"><code class="notranslate">        /**
          * Theme. Possible values `bs3`, `bs2`, `default`
          */
        theme: string;

        /**
          * Icon Set. Possible values `font-awesome`, `default`.
          */
        icon_set: string;

        /**
          * Whether to show buttons for single editalbe element.
          * Possible values `right` (default), `no`.
          */
        buttons: string;

        /**
          * Default value for `blur` attribute of single editable element.
          * Can be `cancel|submit|ignore`.
          */
        blurElem: string;

        /**
          * Default value for `blur` attribute of editable form.
          * Can be `cancel|submit|ignore`.
          */
        blurForm: string;

        /**
          * How input elements get activated. Possible values: `focus|select|none`.
          */
        activate: string;

        /**
          * Whether to disable x-editable. Can be overloaded on each element.
        */
        isDisabled: boolean;

        /*
        * Event, on which the edit mode gets activated.
        * Can be any event.
        */
        activationEvent: string;
    }

    interface IEditableFormController extends angular.IFormController {

        /**
         * Shows form with editable controls.
         */
        $show(): void;

        /**
         * Hides form with editable controls without saving.
         */
        $hide(): void;

        /**
         * Sets focus on form field specified by `name`.&lt;br/&gt;
         * When trying to set the focus on a form field of a new row in the editable table, the `$activate` call needs to be wrapped in a `$timeout` call so that the form is rendered before the `$activate` function is called.
         *
         * @param name name of field
         */
        $activate(name: string): void;

        /**
         * Triggers `oncancel` event and calls `$hide()`.
         */
        $cancel(): void;

        $setWaiting(value: boolean): void;

        /**
         * Shows error message for particular field.
         *
         * @param name name of field
         * @param msg error message
         */
        $setError(name: string, msg: string): void;

        $submit(): void;

        $save(): void;

    }
</code></pre></div>
<p dir="auto">}<br>
`</p>
<p dir="auto">Thanks,<br>
Viresh</p>
<p dir="auto">If you know how to fix the issue, make a pull request instead.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/xxxx</code> package and had problems.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>.  (Please ask any appropriate questions there).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond.
<ul dir="auto">
<li>Authors: @.types/node 10.0</li>
</ul>
</li>
</ul>
<p dir="auto">With v9.6.6 everything was fine with my Angular project. Upgraded to 10.0.0 and now I get the following errors running my unit tests:</p>
<p dir="auto"><code class="notranslate">Error: node_modules/@types/node/index.d.ts(2381,15): error TS2300: Duplicate identifier 'URL'. node_modules/@types/node/index.d.ts(2399,15): error TS2300: Duplicate identifier 'URLSearchParams'. node_modules/@types/node/index.d.ts(2417,14): error TS2661: Cannot export 'URL'. Only local declarations can be exported from a module. node_modules/@types/node/index.d.ts(2417,19): error TS2661: Cannot export 'URLSearchParams'. Only local declarations can be exported from a module. node_modules/typescript/lib/lib.dom.d.ts(12210,11): error TS2300: Duplicate identifier 'URL'. node_modules/typescript/lib/lib.dom.d.ts(12226,13): error TS2300: Duplicate identifier 'URL'. node_modules/typescript/lib/lib.dom.d.ts(14282,11): error TS2300: Duplicate identifier 'URLSearchParams'. node_modules/typescript/lib/lib.dom.d.ts(14309,13): error TS2300: Duplicate identifier 'URLSearchParams'.</code></p>