mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 22:15:18 -05:00
Add rules from eslint's recommended set that triggered good lints (#50422)
This commit is contained in:
@@ -185,7 +185,7 @@ function convertDocumentToMarkdown(doc: Word.Document): string {
|
||||
|
||||
function setProperties(target: any, properties: any) {
|
||||
for (const name in properties) {
|
||||
if (properties.hasOwnProperty(name)) {
|
||||
if (Object.prototype.hasOwnProperty.call(properties, name)) {
|
||||
const value = properties[name];
|
||||
if (typeof value === "object") {
|
||||
setProperties(target[name], value);
|
||||
|
||||
Reference in New Issue
Block a user